Repository navigation
Conversation
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Devin accounts gain automatic authenticated quota retrieval and daily/weekly usage displays. Human review is needed for this default behavior change, particularly the reported credential-backed requests from disabled instances. Needs human approval because:
Adjust the Minimum Blocking Severity for this repo — including turning it Off — in Settings. You can add or adjust custom eligibility rules. Learn more. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ACP exposes no quota data, so the Devin registry agent reads its daily and weekly quota from Devin's GetUserStatus API using the CLI's stored login. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
431faea to
35d0acb
Compare
|
Note 🤖 GPT-6.1 Sol responding on behalf of screen-gd Rebased onto The conflict was in The commit-range comparison preserves the quota reporting, Windows credential path, Devin logo, and removal of the redundant dashboard row. Validation: |
|
Note Written by Verified in a real dev environmentpartial verification of head started the real server-config subscription showed this difference for the installed, enabled devin provider: this verifies the new reader's missing-credentials path through the running server and client. limits refresh completed without quota bars. continuing the existing codex thread completed successfully on the pr; switching between tokens and limits also worked. codex quota retrieval reported matching installed-but-signed-out limits captures follow. neither image proves authenticated devin bars. focused existing quota-reader, acp-driver, and shared-limits tests passed on blacksmith: 76 tests across three files. Not verifiedthis vm has no devin login. successful authenticated quota retrieval, daily/weekly percentages, hidden-daily plans, reset countdowns, account deduplication, and external api failures remain unverified through a real account. this is not end-to-end proof of the main feature or a merge recommendation. native mobile, electron shell, windows appdata, macos credentials, and multi-environment behavior were not exercised. no mocks, fabricated credentials, fixtures, or replay-provider turns were used. |
Disabled Devin instances no longer read credentials or call GetUserStatus. Out-of-range reset timestamps no longer crash the provider check, and account dedup keeps an icon reported by a later environment. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Note 🤖 Devin (Claude Opus 5.5) responding on behalf of screen-gd @maria-rcks thanks for the run. Pushed 108d0d5 with three review fixes. None changes the signed-out path you verified:
Your "not verified" list still stands: the signed-in quota bars, hidden-daily plans, reset countdowns, cross-environment dedup with a real account, and native/desktop/Windows/macOS paths have not been exercised end to end on this head. |
Read Devin CLI session history into the Usage page so Devin shows token totals and API-equivalent cost next to other providers. Totals appear as sessions finish and saved progress means restarts read only new messages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Note 🤖 Claude Opus 5.5 responding on behalf of screen-gd Pushed b011ee9: Devin now appears in Usage's Cost and Tokens views, not only Limits.
Checks on this tree: |
Mobile resolved limit-bar colors by driver id, so Devin's acpRegistry limits fell back to the default color while web already mapped acpRegistry to Devin's color. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Glad to see this, I'd love Devin in Usage too. For whoever reviews: this overlaps with realhasanshoaib#1 (Devin Limits, stacked on #26381) and #29631 (Devin Cost and Tokens), in case it helps to compare them. One small thing worth checking: the I tested the same endpoint on macOS with a real Devin Pro account (CLI 3000.11.228), and the daily and weekly values came back correctly, if that helps with the macOS gap in the verification. |
|
Note 🤖 Claude Opus 5.5 responding on behalf of screen-gd @vxirau good catch. Pushed ec44e4e, so the Devin quota request now refuses redirects.
Thanks for the macOS run with a Pro account. I've added it to the description's Verification section, and listed #29631 and realhasanshoaib#1 there as overlapping work for reviewers to compare. Native mobile and Linux live accounts are still unverified. |
# Conflicts: # apps/server/src/server.ts


Problem
Devin is available as an ACP Registry provider, but Usage shows neither its remaining subscription allowance nor its token use and cost. ACP exposes neither.
Change
Limits. Read the remaining daily and weekly allowance and reset times from GetUserStatus using the Devin CLI's login, including Windows AppData. Plans that hide daily quota show only the weekly allowance, and the same account counts once across environments. Disabled Devin instances read no credentials and make no quota request. The quota request refuses redirects, so the API key in its body can't be sent anywhere but the API server. Missing credentials, unsupported billing, and failed requests show as unavailable.
Cost and Tokens. Read Devin CLI's saved session history into the same token and cost tracker the other providers use. Both models in Fusion sessions count. Costs use the model prices the installed Devin CLI reports. Models with no known price still add tokens and show as unpriced. A large first scan can take minutes, so totals appear as sessions finish. Completed sessions are saved during the scan, so refreshes and restarts read only new messages.
Scope and approval
This adds usage reporting for the existing Devin provider. The Devin team has given the author the go-ahead for the integration. No T3 maintainer approval link has been provided yet.
Related and overlapping work, for comparison:
Verification
devinUsage.test.tscovers the history reader.UsageService.test.tsandserverUsage.test.tscover the merge and progressive totals.vp run check:changedon ec44e4e's tree passed format, lint, knip, typecheck (36 packages), tests (17 files) and the React Compiler check.Reviewed with sol-loop: 2 rounds with GPT-6.1 Sol. Sol verdict: approved
Initial quota implementation by Devin (model not recorded). Windows, UI and Devin token-usage work by GPT-6.1 Sol in Codex through T3 Code. Review fixes, the mobile colour fix and the redirect block by Claude Opus 5.5 in Devin through T3 Code. Sol review loop and PR update by Claude Opus 5.5 in Claude Code through T3 Code.
🤖 Generated with Claude Code