Commit Graph
497 Commits
Author SHA1 Message Date
lzt404 100f5df737 Revert "feat(quota): unify OAuth and API balance lookup (#279)"
This reverts commit d473c8b8f186e82eb63e15d7a3bc54f05810b087.
2026-09-20 18:09:32 +08:00
lzt404 f58b51b4cc style(ui): refine typography and improve readability
- Update font stacks with locale-aware fallbacks
- Standardize font sizes, weights, and line heights
- Improve text hierarchy in credential cards, dialogs, and usage tables
2026-09-20 18:09:32 +08:00
StarryandZehua Feng 385dd69e8f feat(quota): unify OAuth and API balance lookup (#279)
Co-authored-by: Zehua Feng <zehua.feng@hand-china.com>
2026-09-20 18:09:32 +08:00
lzt404 fe83731b94 feat: enhance credential management with cards, settings, and quota controls
- Display credentials in responsive cards with quota progress bars
- Add request statistics and detailed health and cooldown information
- Consolidate nine credential settings into a dialog with partial updates
- Reuse Codex quota reset logic and confirmation across pages
- Move notes above card actions and hide the healthy status indicator
- Add translations and regression coverage
2026-09-20 18:09:32 +08:00
lzt404 bc8b34f9f1 chore(release): prepare v0.2.99 notes and refine release formatting
- Add v0.2.99 release notes in all four supported languages
- Limit GitHub Release notes to English followed by Simplified Chinese
- Preserve all translations in app update manifests
- Update release documentation and tests
2026-09-19 20:42:30 +08:00
lzt404 cb7c701f04 fix: allow provider entries with shared credentials
- Compare full configurations when checking for duplicates
- Keep edits, toggles, reordering, deletion, and remarks isolated
- Migrate existing remarks and add regression coverage

Fixes #276
2026-09-19 20:42:30 +08:00
lzt404 327b824ef5 fix: smooth request table scrolling and clarify logging guidance
- Prevent dropped scroll updates and position jumps
- Keep scroll ranges aligned when resizing or toggling columns
- Update logging guidance across all supported languages
- Add browser regression coverage for table scrolling
2026-09-19 20:42:30 +08:00
lzt404 bac67c1524 feat: display multilingual release notes in version management
- Support Simplified Chinese, Traditional Chinese, English, and Japanese
- Follow the UI language and show a notice when notes are unavailable
- Avoid language and content fallbacks
- Generate Release bodies and update manifests from per-version Markdown
- Add collapsible notes, publication dates, and links to full releases
- Test publishing, legacy manifest compatibility, and localized rendering
2026-09-19 20:42:30 +08:00
lzt404 c9c0c4cf1c fix(agents): preserve user settings and retain dormant Codex provider
- Restore integration settings with a three-way merge that preserves user edits
- Preserve Claude Code subagent models and Claude Desktop cowork settings
- Retain the dormant cpa-gui provider for historical Codex sessions
- Update integration state transactionally and preserve legacy cleanup behavior
- Add lifecycle and connection-state regression tests
2026-09-19 20:42:30 +08:00
lzt404 71c63234f8 fix(usage): keep records refreshing in background
- refresh usage records when the WebView is hidden or occluded
- disable WebView2 background throttling for the main window
- add regression coverage for background refresh behavior
2026-09-19 00:36:18 +08:00
lzt404 9ff9a6c317 fix(core): stabilize runtime status and separate service readiness 2026-09-19 00:36:18 +08:00
lzt404 e9805b395d chore(version): bump cpa-gui version to 0.2.97 2026-09-18 18:27:16 +08:00
lzt404 a8fa7fb1f2 fix(usage): prevent stale data after clearing model filter 2026-09-18 18:17:31 +08:00
lzt404 deb7ad71de chore: remove unused platform-specific parsing code 2026-09-18 18:17:31 +08:00
lzt404 4509e8a28c chore(version): update core version to 7.3.7 2026-09-18 18:17:31 +08:00
lzt404 de01219cc8 fix(network): allow manual proxy overrides when system proxy is detected 2026-09-18 18:17:31 +08:00
lzt404 7cde8942d3 fix(usage): prevent trend chart clipping on scaled displays
Make the overview vertically scrollable and preserve the chart's minimum height when summary cards and legends wrap.

Fixes #269
2026-09-18 18:17:31 +08:00
lzt404 abfe65e656 fix: scope API access remarks to provider records
Fixes #267
2026-09-18 18:17:31 +08:00
lzt404 bd57545c7f feat(usage): add confirmed database cleanup controls 2026-09-18 18:17:31 +08:00
lzt404 93525f0ac7 fix(api-access): preserve model aliases when saving providers
Keep same-source alias entries and their metadata when rebuilding provider models, preventing API connection edits from deleting aliases created in Advanced Settings.

Fixes #271
2026-09-18 18:17:31 +08:00
lzt404 911a20a91a feat(usage): add configurable database size limit 2026-09-18 18:17:31 +08:00
lzt404 1f347d142b refactor(usage): remove redundant token trend summary labels 2026-09-18 18:17:31 +08:00
lzt404 3f8e9a8433 fix(usage): prioritize filter requests over background refreshes 2026-09-18 18:17:31 +08:00
lzt404 ba247159da feat(usage): render token trends as stacked bars with an adaptive time axis 2026-09-18 18:17:31 +08:00
lzt404 81597fcf91 feat(claude-desktop): support custom model aliases
- Add editable model lists, alias suggestions, and usage guidance
- Ignore unselected rows and validate alias conflicts and naming rules
- Fix alias routing through disabled or excluded providers
- Preserve model routes when restoring legacy backups
- Repair legacy metadata and remove unsupported context fields
- Add regression tests for validation and configuration recovery
2026-09-18 18:17:31 +08:00
lzt404 300476043b chore: update core version to 7.3.6 2026-09-18 18:17:31 +08:00
Roomen 40e64b535e feat(agents): support Ghostty as default terminal on macOS 2026-09-18 18:17:31 +08:00
lzt404 f4d91b59fc fix(agents): probe Windows installs without encoded PowerShell 2026-09-18 18:17:31 +08:00
lzt404 717e9e6030 fix(agents): clarify Codex sign-in reset action 2026-09-18 18:17:31 +08:00
lzt404 ec07502de9 feat(agents): restore configuration disable and clear actions 2026-09-18 18:17:31 +08:00
lzt404 050dbddca4 feat(network): auto-detect system proxy and keep user overrides 2026-09-18 18:17:31 +08:00
lzt404 a372a819f8 fix(usage): improve request details refresh responsiveness 2026-09-18 18:17:31 +08:00
lzt404 be7284f0f1 fix(aliases): stop treating display names as aliases
#CLOSE #259
2026-09-18 18:17:31 +08:00
lzt404 e7f96e12d7 chore(version): update cpa-gui version to 0.2.96 2026-09-15 17:15:21 +08:00
lzt404 a5c70e403e chore(version): update core version to 7.3.3 2026-09-15 17:15:21 +08:00
lzt404 d495b0f423 feat(styles): enhance scrollbar styling for usage table 2026-09-15 17:15:21 +08:00
lzt404 433182f9b0 feat(codex): improve API/OAuth switching and configuration recovery
- Add Clear integration to configuration management
- Guide users without OAuth credentials through clearing integration and signing in
- Separate apply and close actions, showing Close only when configuration is applied
- Preserve credentials and original settings across switches
- Restore the CPA model catalog when reconnecting
- Add configuration switching and UI regression tests
2026-09-15 17:15:21 +08:00
lzt404 76da9b9944 feat(agents): convert codex auth method selector to segmented radio buttons 2026-09-15 17:15:21 +08:00
lzt404 e25da0c517 chore(version): update cpa-gui version to 0.2.95 2026-09-15 02:39:03 +08:00
lzt404 3eff2830b5 fix(usage): thin 24h trend axis labels 2026-09-15 02:39:03 +08:00
lzt404 8f52a08177 feat(usage): show 30-minute trend ticks and restore light theme 2026-09-15 02:39:03 +08:00
lzt404 accb93c75c feat(usage): rebuild token trend chart and fill usage page height 2026-09-15 02:39:03 +08:00
lzt404 67484ac423 style(ui): simplify theme labels and arrange options in one row
- Rename theme options to Light, Dark, and Auto across locales
- Display all three options in a single row
- Update localization test expectations
2026-09-15 02:39:03 +08:00
lzt404 0c37f4d1bb feat(providers): add Devin OAuth and quota support
- Add Devin login to standard and simplified modes
- Support credentials, model aliases, and exclusions
- Display daily and weekly quotas with reset times
- Validate callbacks and prevent stale login updates
- Add translations, theme support, and integration tests
2026-09-15 02:39:03 +08:00
lzt404 0725f6ed8a refactor: remove unused functions and frontend declarations
- Remove four redundant Rust functions
- Update tests to call the active implementations directly
- Remove unused TypeScript state, parameters, and imports
- Resolve unused-code compiler warnings
2026-09-15 02:39:03 +08:00
lzt404 a9297b86cc fix(ui): reduce whitespace around agent configuration save controls
- Remove empty feedback placeholders and fixed-height rows
- Place configuration status beside the save button
- Compact save controls in the simplified view
- Add responsive layout and notification stability regression tests
2026-09-15 02:39:03 +08:00
lzt404 18a9bfbaa9 fix(ui): unify bottom-right notifications and improve dialog interactions
- Move operation feedback into a shared floating stack to prevent layout shifts
- Allow identical errors to reappear after dismissal
- Support keyboard navigation, scrolling, and focus restoration in dialogs
- Add notification interaction regression tests
- Remove code comments throughout the project
2026-09-15 02:39:03 +08:00
lzt404 aaa6806e26 chore: update core version to 7.3.2 2026-09-15 02:39:03 +08:00
lzt404 216948d580 fix(usage): reconnect collector after management key rotation
- Detect Web UI secret and port changes in the usage collector
- Drop stale Redis subscriptions authenticated with the old key
- Reset queue source selection and reconnect with the latest configuration
2026-09-15 02:39:03 +08:00
lzt404 5c33798241 chore: update core version to 7.3.1 2026-09-15 02:39:03 +08:00