-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: per-subtask cost breakdown display #10765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
taltas
wants to merge
19
commits into
RooCodeInc:main
Choose a base branch
from
taltas:feat/issue-5376-subtask-cost-breakdown
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
774a8f9
feat: display per-subtask cost breakdown in todos list
taltas e18382d
feat: link delegated subtasks to todos for cost breakdown
taltas 6b3ec95
Add task cost breakdown utilities
taltas 4c9dd28
fix: improve todo-subtask linking reliability with fallback anchors
taltas 0a245c4
fix: eliminate spurious user edits and remove edit button from notifi…
taltas 25848e6
fix: compute subtask tooltip total from todos
taltas 5bead50
fix: hide system_update_todos messages from chat UI
taltas 188a1c6
fix: preserve todo metadata on updateTodoList
taltas 788a21a
feat(webview): add edit toggle for todo updates
taltas 3445ca1
fix: await subtask usage persistence before roll-up
taltas 235cffa
feat: track line changes for delegated subtasks
taltas ecadf2c
fix: include line totals in aggregatedCosts message
taltas 13e2790
fix: preserve todo metrics and line-change display
taltas 3900b3c
fix: preserve todo metadata across subtask updates
taltas 4be5688
chore(i18n): set costs.own label to Task
taltas 249737d
chore: remove debug logging from PR #10765
taltas e8bcb8c
refactor: extract utility functions from taskMetadata into shared mod…
taltas 5750f0f
refactor: remove line change tracking from subtask system
taltas b2fed26
test: remove obsolete taskMetadata spec file
taltas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added
subtaskIdto the todo item so we have a stable link to the spawned child task for cost/token attribution when returning to the parent. The todo item id is not stable across status transitions because it’s derived from the todo text + status (seeparseMarkdownChecklist()and the hash input at src/core/tools/UpdateTodoListTool.ts:242-245). As a result, using the todo id to reconnect to the subtask would break when the checkbox state changes.