Skip to content

feat(usage): show Zed plan quota on the dashboard - #3407

Open
AMSeify wants to merge 1 commit into
decolua:masterfrom
AMSeify:feat/zed-quota
Open

feat(usage): show Zed plan quota on the dashboard#3407
AMSeify wants to merge 1 commit into
decolua:masterfrom
AMSeify:feat/zed-quota

Conversation

@AMSeify

@AMSeify AMSeify commented Aug 18, 2026

Copy link
Copy Markdown

Summary

  • Add a Zed usage handler so connected Zed accounts appear on /dashboard/quota
  • Read GET https://cloud.zed.dev/client/users/me for plan, edit predictions, optional hosted model requests, and billing-cycle reset
  • Render unlimited rows as used + Unlimited instead of 0 / ∞, and surface overdue-invoice / free-plan messages

Closes #3406
Related: #2821, #2823

cc @decolua

Test plan

  • cd tests && npx vitest run unit/zed-usage.test.js unit/usage-dispatch.test.js
  • Connect a Zed account, open /dashboard/quota, confirm the Zed card shows plan + edit-prediction usage
  • Unlimited plans show “N used · Unlimited” rather than 0 / ∞
  • Refresh after a chat request and confirm used count updates when Zed reports it

Made with Cursor

Register a /client/users/me handler so connected Zed accounts appear on
/dashboard/quota with edit-prediction usage, plan labels, and unlimited rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AMSeify

AMSeify commented Aug 18, 2026

Copy link
Copy Markdown
Author

Standalone quota PR against current master (v0.5.55). Zed already has features.usage: true in the registry but no handler, so connections were invisible on /dashboard/quota.

Please take a look when you have a chance @decolua.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(usage): show Zed Hosted AI quota on the dashboard

1 participant