9 Commits
Author SHA1 Message Date
lzt404 b5189bb436 fix(quota): improve Grok credential quota accuracy and subscription details
- Keep weekly usage separate from monthly spending
- Enrich subscription plans in the background with stale-result guards
- Display prepaid balances and hide empty monthly quota rows
- Add localized labels and regression coverage
2026-10-08 18:36:58 +08:00
lzt404 ce3d54acd0 style(usage): restyle request rows and include HTTP error details
Render each request as a rounded card without changing columns or fields. Prefix upstream error messages with their HTTP status when it is not already present.
2026-10-05 16:10:37 +08:00
lzt404 2b81856521 feat(codex): add credits balance to quota query
- Parse Codex usage credits balance and unlimited status
- Display credits in quota cards and auth file panels
- Add i18n labels and related tests
2026-10-05 00:45:17 +08:00
lzt404 0e7437493d fix(api): align management requests and configuration with v8
- Use native v8 routes for credentials, models, OAuth, and API calls
- Remove implicit legacy endpoint and response transformations
- Serialize OAuth exclusion updates while preserving other providers
- Send YAML as raw text and preserve explicit null request bodies
- Update mocks and regression tests, including migrated Claude aliases
2026-10-04 17:31:52 +08:00
lzt404 9c67b9d40c feat(i18n): replace hardcoded Chinese messages with English 2026-09-27 16:33:50 +08:00
lzt404 7df4a28428 fix(quota): align Grok quota queries with Management Center
- Merge weekly and monthly billing fields to preserve 100% remaining quota
- Display unknown usage instead of assuming a full balance
- Align paid account health checks and billing failure fallback
- Add localized messages and regression tests
2026-09-08 13:35:08 +08:00
lzt404 ce9944c316 fix: remove xAI availability testing
- Remove test buttons from credential and quota pages
- Delete paid probe requests, confirmations, and result feedback
- Clean up related translations and obsolete button hints
- Preserve quota queries and update tests to verify no paid probes occur
2026-09-07 19:28:21 +08:00
lzt404 911047d009 fix: replace native dialogs and improve quota reset handling
- Use consistent in-app dialogs for confirmation actions
- Keep quota refreshes free of prompts and automatic paid probes
- Add a separate confirmation flow for xAI availability tests
- Require explicit approval for Codex resets and prevent duplicate requests
- Show reset outcomes and require a quota refresh before retrying failures
- Cover confirmation and reset flows with fully mocked tests
2026-09-07 19:28:21 +08:00
lzt404 e4d0059efa feat(quota): sync upstream quota queries and improve reset handling
- Update Claude, Codex, Kimi, Antigravity, and xAI compatibility
 - Display plan details, subscription expiry, and dynamic reset times
 - Deduplicate quota requests and serialize Codex resets
 - Require confirmation for potentially billable xAI health probes
 - Add quota parsing, request, and rendering regression tests
2026-09-06 19:02:49 +08:00