feat(site): add specialized renderer for process_output tool in agent chats#22628
Merged
feat(site): add specialized renderer for process_output tool in agent chats#22628
Conversation
… chats Adds a ProcessOutputTool component that renders process_output tool calls with a clean terminal-style output block instead of falling through to the generic JSON renderer. - Output shown directly with no header; copy button and status indicators float top-right on hover - Collapsible output with the same expand/collapse chevron bar used by ExecuteTool - Exit code badge shown only for non-zero exits - Spinner shown while process is still running - ToolIcon falls through to TerminalIcon (same as execute) - ToolLabel shows 'Reading process output' text
mattvollmer
approved these changes
Mar 4, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds a
ProcessOutputToolcomponent that rendersprocess_outputtool calls with a clean terminal-style output block instead of falling through to the generic JSON renderer.Changes
New file:
ProcessOutputTool.tsxExecuteToolModified files:
Tool.tsx—ProcessOutputRenderer+ registered intoolRenderersmapToolIcon.tsx—process_outputfalls through toTerminalIconToolLabel.tsx— shows "Reading process output" label