Tam Nhu Tran
bb331ff5d8
feat(cliproxy): add entitlement evidence for gemini and agy
2026-04-10 13:17:50 -04:00
Tam Nhu Tran
7ac6d0a4d4
fix(review): harden quota retry and tooltip edge cases
2026-04-09 00:14:51 -04:00
Tam Nhu Tran
b6fb443f57
fix(cliproxy): refresh non-default gemini quota tokens
2026-04-08 23:55:55 -04:00
Tam Nhu Tran
c9bbc58dd4
perf(cliproxy): overlap gemini quota metadata fetches
2026-04-03 19:56:31 -04:00
Tam Nhu Tran
a762d8dda0
feat(cliproxy): enrich gemini quota metadata
2026-04-03 19:43:17 -04:00
Tam Nhu Tran
5ac91e0cac
fix(cliproxy): align gemini 3.1 preset compatibility
2026-03-27 16:39:40 -04:00
Tam Nhu Tran
19f6b3c4e6
fix(cliproxy): surface quota metadata in CLI
2026-03-26 17:13:11 -04:00
Tam Nhu Tran
31b7d45b58
fix(cliproxy): harden gemini quota error fallbacks
2026-03-26 17:13:11 -04:00
Tam Nhu Tran
99f78f156a
fix(cliproxy): surface gemini quota failure details
...
- preserve structured HTTP/error metadata for Gemini quota failures
- keep upstream verification detail and actionable hints for dashboard users
- add regression coverage for 401, 403, and 429 Gemini quota responses
2026-03-26 17:13:11 -04:00
Tam Nhu Tran
3af554275e
test: isolate shared-state test suites for CI stability
...
- add dependency injection to export-command, binary-manager,
codex-plan-compatibility, config-command, and usage-syncer
- override process.exit in api-export test to prevent silent
termination in Bun's parallel test runner
- harden test-environment bootstrap with process.env isolation
- fix auth middleware to avoid config upgrade during checks
2026-03-25 16:41:41 -04:00
Tam Nhu Tran
3ea9d2fc34
fix(settings): stabilize websearch and quota checks
2026-03-25 16:31:55 -04:00
Tam Nhu Tran
fc3600e922
fix: improve quota diagnostics and oauth refresh handling
2026-03-07 11:09:15 +07:00
Tam Nhu Tran
539afea737
style: format source and test files
2026-02-17 17:03:11 +07:00
kaitranntt
ad8327d17e
test(cliproxy): add unit tests for quota fetchers and auth utilities
...
Add comprehensive unit tests for:
- buildCodexQuotaWindows(): window parsing, clamping, reset time calculation
- buildGeminiCliBuckets(): bucket grouping, model series, token types
- resolveGeminiCliProjectId(): project ID extraction from account field
- sanitizeEmail(): email to filename conversion
- isTokenExpired(): token expiry validation
Also removes unused 'preferred' field from GEMINI_CLI_GROUPS (YAGNI)
39 new tests covering edge cases:
- Percentage clamping (0-100, 0-1)
- Missing/null fields
- camelCase/snake_case API responses
- Empty inputs
- Invalid date strings
Addresses code review feedback on PR #395
2026-01-29 15:01:26 -05:00