5 Commits
Author SHA1 Message Date
Supra4E8C 9a591be429 fix(quota): honor selected Copilot routes and percentage-only quotas 2026-11-23 18:23:06 +08:00
Supra4E8C 862d2b247a feat(quota): add quotaPluginId to AuthFileItem and normalizeAuthFileEntry for backend compatibility 2026-10-12 19:48:51 +08:00
Supra4E8C 390718ecfe fix(quota): fetch plugin quotas through v8 plugin routes
The generic plugin quota card posted to /quota/fetch, which v8 backends
no longer serve, so every plugin quota failed with 404. Resolve the
quota plugin from GET /plugins (shared per connection) and call
POST /plugins/:id/quota instead. Declarative quota_probe credentials
have no v8 route yet and now show an explicit unsupported message.

Refs #491
2026-10-11 01:37:12 +08:00
Supra4E8C ec9fc97458 fix(quota): keep built-in quota cards ahead of plugin quotas
Credentials for providers with a built-in quota card (e.g. Codex) were
routed to the generic plugin quota card whenever a plugin advertised
quota support for the same provider, which then failed with 404 on v8
backends. Built-in cards now take precedence; the plugin card is only
used for providers without one.

Refs #491
2026-10-11 01:34:16 +08:00
Angello Picasso e70b37a974 feat(quota): render generic plugin quota summaries (#432)
* feat(quota): render generic plugin quota summaries

* fix(quota): support declarative plugin probes

* fix(quota): honor backend capabilities and render meaningful data
2026-10-09 17:02:45 +08:00