Add support for GitHub Copilot quota provider (#271)

* feat(quota): add github-copilot to QuotaProviderId type

* feat(quota): add GitHub Copilot provider metadata

* feat(quota): add premium_interactions window label mapping

* feat(quota): implement GitHub Copilot quota provider for web

* feat(quota): implement GitHub Copilot quota provider for VS Code

* feat(quota): implement GitHub Copilot quota provider for desktop
This commit is contained in:
Nelson Pires
2026-02-03 13:03:27 +02:00
committed by GitHub
parent 388911b253
commit 392cd888a8
6 changed files with 380 additions and 2 deletions
+1
View File
@@ -29,5 +29,6 @@ export const resolveUsageTone = (percent: number | null): 'safe' | 'warn' | 'cri
export const formatWindowLabel = (label: string): string => {
if (label === '5h') return '5-Hour Limit';
if (label === 'weekly') return 'Weekly Limit';
if (label === 'premium_interactions') return 'Premium interactions';
return label;
};