[PR #9900] feat: new tool context_usage to show context usage statistics #13264

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

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

State: open
Merged: No


What does this PR do?

Add a new tool context_usage to show context usage statistics.

Fixes #9889

How did you verify your code works?

  • New tests are passing
  • I have tested it locally using bun run dev

Demo

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9900 **State:** open **Merged:** No --- ### What does this PR do? Add a new tool `context_usage` to show context usage statistics. Fixes #9889 ### How did you verify your code works? - New tests are passing - I have tested it locally using `bun run dev` ### Demo <img width="2940" height="1912" alt="image" src="https://github.com/user-attachments/assets/2eb4eff3-6e99-4ad8-9adb-312a8d0d4929" />
yindo added the pull-request label 2026-02-16 18:18:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13264