feat: add TaskToolCall component, structured entries for TodoWrite#42
Open
BingqingLyu wants to merge 2 commits into
Open
feat: add TaskToolCall component, structured entries for TodoWrite#42BingqingLyu wants to merge 2 commits into
BingqingLyu wants to merge 2 commits into
Conversation
… text - Update collect.ts to pass structured entries directly instead of converting to markdown - Update UpdatedPlanToolCall to consume structured entries with text parsing fallback - Add 'entries' type to ToolCallContent schema and types - Update stories to use new structured data format - Fix PermissionDrawer story import issue Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This was referenced Apr 28, 2026
Owner
Author
Conflict Group 1This PR shares modified functions with 5 other PR(s): #112, #113, #114, #117, #88. These PRs should be reviewed as a batch — merging one may affect the others.
graph LR
PR42["PR #42"]
FgetToolCallComponent_7344["getToolCallComponent<br>ChatViewer.tsx"]
PR42 -->|modifies| FgetToolCallComponent_7344
PR112["PR #112"]
PR112 -->|modifies| FgetToolCallComponent_7344
PR113["PR #113"]
PR113 -->|modifies| FgetToolCallComponent_7344
PR114["PR #114"]
PR114 -->|modifies| FgetToolCallComponent_7344
PR117["PR #117"]
PR117 -->|modifies| FgetToolCallComponent_7344
PR88["PR #88"]
PR88 -->|modifies| FgetToolCallComponent_7344
Posted by codegraph-ai conflict detection. |
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.
TLDR
Introduces a new
TaskToolCallUI component for displaying subagent execution with runtime and replay modes. RefactorsUpdatedPlanToolCallto use structuredentriesdata instead of markdown parsing.Dive Deeper
TaskToolCall Component
taskkind tool. Subagent execution is mapped to thetaskkind on the client side for display purposes.UpdatedPlanToolCall Refactor
- [x]) to consuming structuredentriesdatacollect.tsnow passes structured entries withtype: 'entries'directly to the componentSchema Updates
entriestype totoolCallContentSchemawith array of{content, status}objectsnamefield to session update schemas for tool call identificationReviewer Test Plan
Test Task Tool Call Display:
@code-analyzeror@general-purposesubagent in a conversationTest TodoWrite Display:
todo_writetool to create/update a planRun Component Tests:
npm run storybook # Navigate to ToolCalls/TaskToolCall and ToolCalls/UpdatedPlanToolCall storiesBuild Verification:
Testing Matrix
Linked issues / bugs