[PR #11493] feat: Add tools breakdown #13811

Open
opened 2026-02-16 18:18:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11493

State: open
Merged: No


Summary

Add tools usage analysis tab to the session context panel

Changes

- New Tools Tab: Added a tools breakdown sub-tab inside the Context panel that shows which tools consumed the most context/tokens
- Tools Breakdown: Aggregates tool usage by name with percentage and character/token counts
- Call History: Chronological list of all tool calls with expandable details (input, output, error states)
- Translations: Added translations for all 15 supported languages (en, ru, de, fr, es, pl, ja, ko, zh, zht, da, no, br, ar, th)
- Code Unification: Created reusable ExpandableItem and JsonView components to reduce duplication

Closes #11434

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11493 **State:** open **Merged:** No --- ### Summary Add tools usage analysis tab to the session context panel ### Changes **- New Tools Tab**: Added a tools breakdown sub-tab inside the Context panel that shows which tools consumed the most context/tokens **- Tools Breakdown**: Aggregates tool usage by name with percentage and character/token counts **- Call History**: Chronological list of all tool calls with expandable details (input, output, error states) **- Translations**: Added translations for all 15 supported languages (en, ru, de, fr, es, pl, ja, ko, zh, zht, da, no, br, ar, th) **- Code Unification**: Created reusable ExpandableItem and JsonView components to reduce duplication Closes #11434 <img width="610" height="905" alt="image" src="https://github.com/user-attachments/assets/6b5ef1b2-8e36-406e-9acd-7a9fe9e39957" />
yindo added the pull-request label 2026-02-16 18:18:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13811