feat(tui): add per-tool output visibility via show_tool_output config#20211
Open
graelo wants to merge 2 commits intoanomalyco:devfrom
Open
feat(tui): add per-tool output visibility via show_tool_output config#20211graelo wants to merge 2 commits intoanomalyco:devfrom
graelo wants to merge 2 commits intoanomalyco:devfrom
Conversation
Add a `show_tool_output` string array to tui.json that lists tool names whose output should always be shown (and expanded), even when the global generic tool output toggle is off.
Author
|
Somewhat related: In case you're wondering why these custom |
Author
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.

Issue for this PR
Closes #17250
Type of change
What does this PR do?
Adds a
show_tool_outputstring array totui.jsonthat lists tool names whose output should always be shown (and expanded), even when the global generic tool output toggle is off.This addresses the use case where users want to hide noisy tool outputs (file reads, shell commands) but still see rich, formatted output from specific tools like plugins (e.g., project_status, todo_read, todo_edit or any custom tool which output is meant to be read).
Changes:
show_tool_outputfield toTuiOptionsintui-schema.tsUsage: in
tui.json{ "show_tool_output": ["project_status", "todo_edit", "todo_write"] }How did you verify your code works?
I've been using it locally for 3 weeks, to allow my subagents use my
todo_edit,todo_writeandtodo_readtools, and occasionally a work-only variant of the genericproject_statustool that I mentioned in the issue.Screenshots / recordings
Here's an example of using
show_tool_outputinside a subagentChecklist