[FEATURE]: Show context usage in OpenCode Desktop #3718

Closed
opened 2026-02-16 17:41:13 -05:00 by yindo · 5 comments
Owner

Originally created by @aklajnert on GitHub (Dec 21, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

On OpenCode Desktop there is no visible context usage indicator (tokens used / context percentage) in the GUI, which makes it hard to understand when a session is close to the context limit or when compaction is happening. This feature exists in the TUI (which shows a context‑percentage meter), but there is no equivalent in the Desktop app.

The OpenCode Desktop experience feels much better than the terminal equivalent, but one of the main reasons I want to use OpenCode instead of the Copilot plugin in VS Code is the context usage indicator, which is currently missing in both VS Code and OpenCode Desktop.

Originally created by @aklajnert on GitHub (Dec 21, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request On OpenCode Desktop there is no visible context usage indicator (tokens used / context percentage) in the GUI, which makes it hard to understand when a session is close to the context limit or when compaction is happening. This feature exists in the TUI (which shows a context‑percentage meter), but there is no equivalent in the Desktop app. ​ The OpenCode Desktop experience feels much better than the terminal equivalent, but one of the main reasons I want to use OpenCode instead of the Copilot plugin in VS Code is the context usage indicator, which is currently missing in both VS Code and OpenCode Desktop.
yindo added the discussionweb labels 2026-02-16 17:41:13 -05:00
yindo closed this issue 2026-02-16 17:41:13 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 21, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #570: context and cost display should be prioritized over directory path when screen width is narrow

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 21, 2025): This issue might be a duplicate of existing issues. Please check: - #570: context and cost display should be prioritized over directory path when screen width is narrow Feel free to ignore if none of these address your specific case.
Author
Owner

@ShpetimA commented on GitHub (Dec 21, 2025):

Created a POC for this, took some inspiration from cursors desing lmk what you think and if I should create a pr @adamdotdevin

Image Image
@ShpetimA commented on GitHub (Dec 21, 2025): Created a POC for this, took some inspiration from cursors desing lmk what you think and if I should create a pr @adamdotdevin <img width="852" height="168" alt="Image" src="https://github.com/user-attachments/assets/7bcd7839-0f68-40e1-95e8-3d52f41c8573" /> <img width="836" height="175" alt="Image" src="https://github.com/user-attachments/assets/89d2832c-af76-46fe-8c14-4a49c626fe8c" />
Author
Owner

@adamdotdevin commented on GitHub (Dec 21, 2025):

Created a POC for this, took some inspiration from cursors desing lmk what you think and if I should create a pr @adamdotdevin

Image Image

yeah, PR would be great, thank you!

@adamdotdevin commented on GitHub (Dec 21, 2025): > Created a POC for this, took some inspiration from cursors desing lmk what you think and if I should create a pr [@adamdotdevin](https://github.com/adamdotdevin) > > <img alt="Image" width="852" height="168" src="https://private-user-images.githubusercontent.com/32248437/528964831-7bcd7839-0f68-40e1-95e8-3d52f41c8573.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjYzNDE2MzYsIm5iZiI6MTc2NjM0MTMzNiwicGF0aCI6Ii8zMjI0ODQzNy81Mjg5NjQ4MzEtN2JjZDc4MzktMGY2OC00MGUxLTk1ZTgtM2Q1MmY0MWM4NTczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjIxVDE4MjIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5NjNmOGM3MmE3MjIwMmFiMmRhMGNmMDk5MDI1ZjcwY2FjZjM1NmZkNGE5OTUxNTlmZmFhYzNmMDNlMzQ2YWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LMZBVM-qq7FApIniqDkEgroCjOc6kxV5nRFvS9eagS8"> <img alt="Image" width="836" height="175" src="https://private-user-images.githubusercontent.com/32248437/528964843-89d2832c-af76-46fe-8c14-4a49c626fe8c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjYzNDE2MzYsIm5iZiI6MTc2NjM0MTMzNiwicGF0aCI6Ii8zMjI0ODQzNy81Mjg5NjQ4NDMtODlkMjgzMmMtYWY3Ni00NmZlLThjMTQtNGE0OWM2MjZmZThjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjIxVDE4MjIxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxOTQ5ODY3NzA3ZjBlMTJiNzZmZmZiNjQyNDQ4OTgzMjNkNTFjYzI3YzFmMzc0ZWI0NjM1ZDdmMjk1YzQyNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G87Rr4Lnv4IFytoQhzjRnnJB_6tWrrmHI2luBG5dhPk"> yeah, PR would be great, thank you!
Author
Owner

@ShpetimA commented on GitHub (Dec 22, 2025):

@adamdotdevin created a pr whenever you have time feel free to check it out

@ShpetimA commented on GitHub (Dec 22, 2025): @adamdotdevin created a pr whenever you have time feel free to check it out
Author
Owner

@adamdotdevin commented on GitHub (Dec 22, 2025):

@adamdotdevin created a pr whenever you have time feel free to check it out

Merged!

@adamdotdevin commented on GitHub (Dec 22, 2025): > @adamdotdevin created a pr whenever you have time feel free to check it out Merged!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3718