feat(opencode): add quota command and UI display#19141
feat(opencode): add quota command and UI display#19141cainiao1992 wants to merge 2 commits intoanomalyco:devfrom
Conversation
- Add opencode quota CLI command to query provider quota - Add /global/quota API endpoint - Add Quota tab in Settings dialog (Desktop + Web) - Display usage with progress bars - Update SDK with quota endpoint - Add i18n translations for quota
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Related PR:
The searches show that #18434 addresses displaying provider usage/quota information with UI components, which overlaps with the quota display features being added in the current PR. This could be a related or potentially duplicate feature implementation. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Issue for this PR
N/A
Type of change
What does this PR do?
Add a new
opencode quotacommand to query provider quota information.CLI Features:
opencode quota- lists all configured providers with quotaopencode quota google- shows Google quotaCLI Output:
UI Features:
How did I verify my code works?
Screenshots / recordings
bun typecheckin all packages - passedChecklist