Repository navigation
Conversation
The Devin CLI already reads its remaining allowance from its own API server (SeatManagementService/GetUserStatus) with the login it stores. Reuse that request to fill the existing Limits windows for registry Devin, and keep the Usage & limits dashboard link as the fallback when it cannot be read.
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on pingdotgg#26381. Instead of only linking to the dashboard, this shows Devin's real daily and weekly bars in Usage → Limits, like the other providers. The Manage usage link stays as the fallback.
How
The Devin CLI already asks its own API server for the remaining allowance. At every ACP startup and on
/statusit callsPOST <api_server_url>/exa.seat_management_pb.SeatManagementService/GetUserStatus(visible withRUST_LOG=debug devin acp), using thewindsurf_api_keyit stores in~/.local/share/devin/credentials.toml. The response includesuserStatus.planStatus.{daily,weekly}QuotaRemainingPercentand{daily,weekly}QuotaResetAtUnix.devinUsageLimits.tsmakes the same request with the CLI's login and version, and maps it to a Weekly and a Daily window (usedPercent = 100 − remaining; proto3 JSON omits a zero remaining percent, so a missing value means the window is used up).driver.tsattaches the windows incheckProviderfor registry Devin only, keeping the existingexternalUsagelink. Enrichment already preserves published limits, so no extra state is needed.DashboardService/GetCurrentPeriodUsage).No new settings, contracts, or dependencies.
Proof
Weekly 0% used, resets 2026-11-08T08:00ZandDaily 0% used, resets 2026-11-02T08:00Z, matching app.devin.ai/settings/usage. An earlier request on the same account returned 22% daily remaining, with the weekly percent omitted (proto3 zero).vp run check:changed 0765bc3da6: format, lint, both knip passes, typecheck (10 packages) and tests (13 in the 2 affected files) all pass.Not checked: native desktop/mobile rendering and Enterprise/Teams plans.