Roo-Code/locales/en/chat.json
Roo Code 40b74b9991 feat: add orchestrator cost aggregation and hierarchy visualization
- Add utility functions for building task trees and calculating aggregated costs
- Implement AggregatedCostDisplay component with collapsible breakdown
- Update TaskHeader to show aggregated costs for top-level orchestrator tasks
- Add HierarchicalTaskItem component for tree-based task display
- Update HistoryView to support hierarchical task visualization with toggle
- Add comprehensive tests for task hierarchy utilities
- Add translation keys for new UI elements

This implementation addresses Issue #5376 by:
1. Computing aggregated costs client-side from existing rootTaskId/parentTaskId fields
2. Showing collapsible cost breakdown in TaskHeader for orchestrator tasks
3. Rendering task history as an indented tree structure
4. Maintaining real-time updates as subtasks complete
5. Preserving existing behavior for non-orchestrator tasks
2025-09-17 20:13:51 +00:00

86 lines
2 KiB
JSON
Generated

{
"task": {
"title": "Task",
"collapse": "Collapse task",
"expand": "Expand task",
"contextWindow": "Context Window",
"tokens": "Tokens",
"cache": "Cache",
"apiCost": "API Cost",
"aggregatedCost": "Total Cost",
"aggregatedCostDescription": "Total cost including all subtasks",
"withSubtasks": "with subtasks",
"parent": "Parent",
"total": "Total",
"size": "Size",
"unnamed": "Unnamed task",
"condenseContext": "Condense context"
},
"tokenProgress": {
"tokensUsed": "{{used}} / {{total}} tokens used",
"reservedForResponse": "{{amount}} tokens reserved for response",
"availableSpace": "{{amount}} tokens available"
},
"forNextMode": "for next mode",
"forPreviousMode": "for previous mode",
"typeMessage": "Type a message...",
"typeTask": "Type a task...",
"scrollToBottom": "Scroll to bottom",
"retry": {
"title": "Retry",
"tooltip": "Retry the failed request"
},
"save": {
"title": "Save",
"tooltip": "Save the changes"
},
"approve": {
"title": "Approve",
"tooltip": "Approve the action"
},
"runCommand": {
"title": "Run Command",
"tooltip": "Execute the command"
},
"startNewTask": {
"title": "Start New Task",
"tooltip": "Begin a new task"
},
"resumeTask": {
"title": "Resume Task",
"tooltip": "Continue the paused task"
},
"proceedAnyways": {
"title": "Proceed Anyways",
"tooltip": "Continue despite the warning"
},
"proceedWhileRunning": {
"title": "Proceed While Running",
"tooltip": "Continue while the command is running"
},
"cancel": {
"title": "Cancel",
"tooltip": "Cancel the current operation"
},
"reject": {
"title": "Reject",
"tooltip": "Reject the proposed action"
},
"terminate": {
"title": "Terminate",
"tooltip": "Stop the task completely"
},
"killCommand": {
"title": "Kill Command",
"tooltip": "Terminate the running command"
},
"completeSubtaskAndReturn": "Complete & Return",
"read-batch": {
"approve": {
"title": "Read Files"
},
"deny": {
"title": "Deny"
}
}
}