Merge pull request #11: feat: add Kiro quota display support

新增 Kiro (AWS CodeWhisperer) 额度查看功能:
- 配额页面新增 Kiro 额度区块
- 显示基础额度、赠送额度、合计额度
- 显示订阅类型和重置时间
- 支持单个刷新和批量获取

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
kongkongyo
2026-02-02 21:43:04 +08:00
11 changed files with 460 additions and 11 deletions

View File

@@ -384,6 +384,7 @@
"filter_claude": "Claude",
"filter_codex": "Codex",
"filter_antigravity": "Antigravity",
"filter_kiro": "Kiro",
"filter_iflow": "iFlow",
"filter_vertex": "Vertex",
"filter_empty": "Empty",
@@ -395,6 +396,7 @@
"type_claude": "Claude",
"type_codex": "Codex",
"type_antigravity": "Antigravity",
"type_kiro": "Kiro",
"type_iflow": "iFlow",
"type_vertex": "Vertex",
"type_empty": "Empty",
@@ -469,6 +471,23 @@
"fetch_all": "Fetch All",
"remaining_amount": "Remaining {{count}}"
},
"kiro_quota": {
"title": "Kiro Quota",
"empty_title": "No Kiro Auth Files",
"empty_desc": "Upload a Kiro credential to view remaining quota.",
"idle": "Not loaded. Click Refresh Button.",
"loading": "Loading quota...",
"load_failed": "Failed to load quota: {{message}}",
"missing_auth_index": "Auth file missing auth_index",
"empty_data": "No quota data available",
"refresh_button": "Refresh Quota",
"fetch_all": "Fetch All",
"subscription_label": "Subscription",
"base_credits_label": "Base Credits",
"bonus_credits_label": "Bonus Credits",
"total_credits_label": "Total Credits",
"remaining_credits": "Remaining {{count}}"
},
"vertex_import": {
"title": "Vertex JSON Login",
"description": "Upload a Google service account JSON to store it as auth-dir/vertex-<project>.json using the same rules as the CLI vertex-import helper.",