feat: improve MCP tool input/output rendering#33
Merged
matt1398 merged 1 commit intomatt1398:mainfrom Feb 20, 2026
Merged
Conversation
2c03acd to
93f501d
Compare
89d404d to
d61557c
Compare
d61557c to
a00c7a4
Compare
Owner
|
This is great! Making MCP outputs more readable is a huge plus. Appreciate the thorough tests as well. Merging now, thanks for the contribution! Will be implemented in next release |
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
[{"type":"text","text":"..."}]) instead of stringifying the raw wrapper arrayJSON.stringify— string values display directly (preserving real newlines)Closes #32
Testing
npm run typecheckpassesnpm testpassesnpm run lintpassestest/renderer/utils/renderHelpers.test.tscovering:serialized content block arrays, multiple blocks joined with newlines
converted with String(), objects/arrays pretty-printed with JSON.stringify