feat(rendering): Add configurable file path rendering#402
Merged
cameroncooke merged 2 commits intomainfrom May 7, 2026
Merged
Conversation
Add a file path render style setting for text output so CLI output can use labeled file lists while MCP text output preserves compact path trees. Expose the setting through project config, environment, and the CLI option, and update rendering tests and snapshots to cover both modes.
Sort expected child path lines so the renderer test does not depend on locale-sensitive ordering of home-directory and sibling paths.
commit: |
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.
Add configurable file artifact rendering for text output.
CLI text output now defaults to a labeled
Files:list so paths are easier to scan in terminal output, while MCP text output keeps the compact tree format that is better suited to tool responses. The render style can be overridden throughfilePathRenderStylein project config,XCODEBUILDMCP_FILE_PATH_RENDER_STYLE, or--file-path-render-styleon CLI tool commands.This also routes resource rendering through the shared renderer so MCP resources use the same runtime-aware defaults, and updates snapshot normalization for the displayed
~/Library/Developer/XcodeBuildMCPpaths produced by the new output.