feat(details-sidebar): add Tasks widget for live tool execution#33
Merged
feat(details-sidebar): add Tasks widget for live tool execution#33
Conversation
Adds a Tasks widget to the Details Sidebar that surfaces what Claude is actively doing in the selected sub-chat. Each in-flight tool (Bash, Read, Edit, Task-tool sub-agents, etc.) renders as a row with name, input summary and ticking elapsed time; Task-tool sub-agent children nest under their parent via the composite toolCallId convention. The list is strictly live-only: gated on the streaming-status store and filters out any part whose state has reached output-available / output-error / result / input-error, so finished items never linger. Todo tools (TaskCreate / TaskUpdate / TaskList / TaskGet / TodoWrite) are excluded because they already surface in the Todo widget. No stop button in the widget \u2014 the SDK only supports session-level abort, which the existing chat-input Stop button already covers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Adds a Tasks widget to the Details Sidebar that surfaces what Claude is actively doing in the selected sub-chat. Each in-flight tool (Bash, Read, Edit, Task-tool sub-agents, etc.) renders as a row with name, input summary and ticking elapsed time; Task-tool sub-agent children nest under their parent via the composite toolCallId convention.
The list is strictly live-only: gated on the streaming-status store and filters out any part whose state has reached output-available / output-error / result / input-error, so finished items never linger. Todo tools (TaskCreate / TaskUpdate / TaskList / TaskGet / TodoWrite) are excluded because they already surface in the Todo widget.
No stop button in the widget \u2014 the SDK only supports session-level abort, which the existing chat-input Stop button already covers.