feat(agent-fold): render tool calls with the AI chat's component patterns - #5583
Open
ehayes2000 wants to merge 2 commits into
Open
feat(agent-fold): render tool calls with the AI chat's component patterns#5583ehayes2000 wants to merge 2 commits into
ehayes2000 wants to merge 2 commits into
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ehayes2000
force-pushed
the
ehayes2000/agent-fold-tool-rendering
branch
from
August 12, 2026 14:52
12c2cf3 to
81ad93b
Compare
ehayes2000
force-pushed
the
ehayes2000/agent-fold-acp-tool-kinds-specta
branch
from
August 12, 2026 14:52
2514589 to
254b60f
Compare
ehayes2000
force-pushed
the
ehayes2000/agent-fold-tool-rendering
branch
from
August 12, 2026 21:28
81ad93b to
d9004e6
Compare
… specta Extends ToolDetail to render all nine official ACP tool kinds (previously only terminal/edit/read; delete/move/search/fetch/think fell into a generic Other bucket with content silently dropped), and replaces the hand-maintained apps/web agent-fold types.ts with a specta-generated file kept in sync via 'bun run gen-agent-fold-types' (crates/agent_fold's export_types binary, piped through biome so the output matches this repo's formatting), moved under service-clients/service-agent-fold/generated to match the codebase's convention for generated client code.
ehayes2000
force-pushed
the
ehayes2000/agent-fold-acp-tool-kinds-specta
branch
from
August 12, 2026 21:48
254b60f to
ca436cd
Compare
ehayes2000
force-pushed
the
ehayes2000/agent-fold-tool-rendering
branch
from
August 12, 2026 21:48
d9004e6 to
2bc7b06
Compare
Base automatically changed from
ehayes2000/agent-fold-acp-tool-kinds-specta
to
new-ai-agents
August 12, 2026 21:56
…erns Replaces FoldedContent.tsx's icon+text-only tool rendering with real components per ACP tool kind, following the layout patterns already established by the AI chat's tool cards (Tool.Root/Row/ResultToggle/Response, the same expand/collapse-behind-a-toggle convention as BashCodeExecution and WebSearch): a diff viewer (add/remove/context lines, collapsed unchanged runs), an ANSI-aware terminal output renderer, a collapsible path list, and a generic output block.
ehayes2000
force-pushed
the
ehayes2000/agent-fold-tool-rendering
branch
from
August 13, 2026 15:12
2bc7b06 to
ccc777d
Compare
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.
Replaces
FoldedContent.tsx's icon+text-only tool rendering with a diff viewer, an ANSI-aware terminal renderer, a collapsible path list, and a generic output block — following the sameTool.*layout patterns and expand/collapse convention already used by the AI chat's tool cards.