Commit Graph
368 Commits
Author SHA1 Message Date
lzt404 ae55150b19 fix(version): update cpa-gui version to 0.2.71 2026-09-04 01:50:46 +08:00
lzt404 ccbe3a5625 fix(update): retry core downloads across available sources 2026-09-04 01:50:46 +08:00
lzt404 594ab43b6a fix(update): show notification when CPA core update is available 2026-09-04 01:50:46 +08:00
lzt404 bf6177e15a fix(codex): preserve OAuth configuration across updates
- preserve the active Codex OAuth mode in legacy configuration paths
- retain unsaved OAuth selection when navigating between clients
- add regression coverage to prevent OAuth credentials from being overwritten
2026-09-04 01:50:46 +08:00
lzt404 e3551f0e3c feat(config): complete logging and diagnostics management
- persist and migrate CPA logging settings with validation and rollback
- add logging controls, commercial-mode restart, and log-folder access
- streamline diagnostics UI and update localized copy
- move test-only catalog helper to eliminate dead-code warnings
2026-09-04 01:50:45 +08:00
lzt404 2c40691240 feat(settings): add request log diagnostics toggle
- add log diagnostics card under basic settings
- persist and synchronize CPA request-log configuration
- support configuration migration and rollback on save failure
- add localized UI copy and responsive styles
- add tests for request-log parsing and YAML merging
2026-09-04 01:50:45 +08:00
lzt404 c278ff9df8 fix(version): update core version to 7.2.148 2026-09-04 01:50:45 +08:00
lzt404 64ea12fede fix(codex): preserve model IDs and expose all reasoning levels
- use the original model slug as the catalog display name
- expose all standard reasoning levels for every model
- prevent upstream metadata from restricting reasoning options
- update catalog generation tests
2026-09-04 01:50:45 +08:00
lzt404 3695e19cb4 fix(dependencies): update cpa-gui version to 0.2.70 2026-09-03 02:44:48 +08:00
lzt404 cff6a21974 feat(model-aliases): restore Fast service-tier option
- enable Fast for Codex API, OpenAI-compatible, and Codex OAuth sources
- apply service_tier=priority as an independent payload override
- support Fast-only and reasoning-effort combinations
- disable Fast until a supported model source is selected
2026-09-03 02:44:48 +08:00
lzt404 708a834e24 Dev (#198)
* fix(gitignore): add .codex to ignored files

* feat(settings): add configurable default terminal for CLI agents

- Add default terminal selector under Advanced Settings > Software Settings
- Detect available terminals across macOS, Windows, and Linux
- Persist and migrate the default-terminal configuration
- Apply the selected terminal when launching CLI agents
- Add localized labels and regression tests

Fixes #179

* feat(easy-mode): improve API onboarding and agent configuration flow

- Fix management API 404 errors when saving API providers
- Simplify the model list and support custom model IDs
- Adjust API field order and default provider selection
- Reuse the full agent configuration page and restore agent detection

* refactor(agents): simplify embedded beginner mode UI

* style(easy-mode): align onboarding heading typography

* fix(easy-mode): refine API onboarding actions and notifications

- Reveal model selection and save actions only after fetching models
- Move the API save success toast to the bottom-right corner
- Auto-dismiss the success notification after a short delay
- Remove icons from the model fetch and save buttons

* feat(easy-mode): refine guided setup flow and spotlight positioning

- Enforce completion of each selection, input, and configuration step
- Align OAuth, API access, and agent setup guidance with actual UI actions
- Prevent guidance cards from overlapping highlighted areas
- Improve bilingual step descriptions and completion states

* feat(easy-mode): refine onboarding flow and navigation controls

- Enforce accurate step validation for OAuth and API setup
- Select all fetched API models by default
- Prevent guide cards from overlapping highlighted areas
- Improve onboarding copy and remove unnecessary dashboard actions
- Reposition and highlight guide and exit controls

* fix(usage): filter control messages and repair unknown records

- filter empty, null, refresh, and support_refresh messages before persistence
- require request_id for usage records
- repair Claude cache token accounting
- delete historical unknown records
- show deleted record count in usage management

* fix(ui): improve auth file and core install notifications

- show auth file operation notices as auto-dismiss toasts
- prevent duplicate core install completion notifications
- close the install dialog automatically after successful installation
- bump core version to 7.2.146

* fix(ui): improve responsive layouts and core install notifications

- add workspace container breakpoints for management and usage pages
- make the usage table fill the available viewport height
- reduce unnecessary blank space in usage records
- silence automatic bundled core install completion notifications
- deduplicate manual core install completion feedback

* chore(version): update core version to 7.2.147

* fix(management): bypass system proxy for local Core requests

* fix(claude-desktop): support Claude OAuth model aliases

- Resolve Claude Desktop model sources from all OAuth definitions
- Write managed aliases to the matching OAuth channel
- Preserve alias metadata and add regression coverage

* test(claude-desktop): cover xAI OAuth model aliases

* feat(config): add disable cooling toggle to retry settings

* feat(config): add disable cooling toggle and refine settings layout

* fix(dependencies): update cpa-gui version to 0.2.69
2026-09-02 16:59:09 +08:00
lzt404 ac9f117c2e fix(ui): improve responsive layouts and core install notifications
- add workspace container breakpoints for management and usage pages
- make the usage table fill the available viewport height
- reduce unnecessary blank space in usage records
- silence automatic bundled core install completion notifications
- deduplicate manual core install completion feedback
2026-09-01 23:32:26 +08:00
lzt404 a34abfc587 fix(ui): improve auth file and core install notifications
- show auth file operation notices as auto-dismiss toasts
- prevent duplicate core install completion notifications
- close the install dialog automatically after successful installation
- bump core version to 7.2.146
2026-09-01 23:32:26 +08:00
lzt404 cbd82386d5 fix(usage): filter control messages and repair unknown records
- filter empty, null, refresh, and support_refresh messages before persistence
- require request_id for usage records
- repair Claude cache token accounting
- delete historical unknown records
- show deleted record count in usage management
2026-09-01 23:32:26 +08:00
lzt404 3ebca59535 feat(easy-mode): refine onboarding flow and navigation controls
- Enforce accurate step validation for OAuth and API setup
- Select all fetched API models by default
- Prevent guide cards from overlapping highlighted areas
- Improve onboarding copy and remove unnecessary dashboard actions
- Reposition and highlight guide and exit controls
2026-09-01 23:32:26 +08:00
lzt404 7bf860055a feat(easy-mode): refine guided setup flow and spotlight positioning
- Enforce completion of each selection, input, and configuration step
- Align OAuth, API access, and agent setup guidance with actual UI actions
- Prevent guidance cards from overlapping highlighted areas
- Improve bilingual step descriptions and completion states
2026-09-01 23:32:26 +08:00
lzt404 d93d8a38e4 fix(easy-mode): refine API onboarding actions and notifications
- Reveal model selection and save actions only after fetching models
- Move the API save success toast to the bottom-right corner
- Auto-dismiss the success notification after a short delay
- Remove icons from the model fetch and save buttons
2026-09-01 23:32:26 +08:00
lzt404 a4a8b4ef90 style(easy-mode): align onboarding heading typography 2026-09-01 23:32:26 +08:00
lzt404 ee5babd1f7 refactor(agents): simplify embedded beginner mode UI 2026-09-01 23:32:26 +08:00
lzt404 dd008d64ba feat(easy-mode): improve API onboarding and agent configuration flow
- Fix management API 404 errors when saving API providers
- Simplify the model list and support custom model IDs
- Adjust API field order and default provider selection
- Reuse the full agent configuration page and restore agent detection
2026-09-01 23:32:26 +08:00
lzt404 79b50b7a2b feat(settings): add configurable default terminal for CLI agents
- Add default terminal selector under Advanced Settings > Software Settings
- Detect available terminals across macOS, Windows, and Linux
- Persist and migrate the default-terminal configuration
- Apply the selected terminal when launching CLI agents
- Add localized labels and regression tests

Fixes #179
2026-08-30 18:48:01 +08:00
lzt404 270ad2869c fix(gitignore): add .codex to ignored files 2026-08-30 17:10:55 +08:00
lzt404 247e9052b6 fix(usage): preserve persistent WebSocket usage events
Treat request_id/event_key as correlation fields instead of unique keys,
allowing multiple usage events from the same persistent WebSocket connection.
Migrate existing usage.db schemas and add regression coverage.

Fixes #180
2026-08-30 16:55:25 +08:00
lzt404 fd3a04a3d8 chore(version): update cpa-gui version to 0.2.66 2026-08-30 16:55:25 +08:00
lzt404 0f4fc69c0a refactor: streamline beginner mode onboarding flow
- simplify onboarding into model and agent setup
- preserve OAuth/API page state during navigation
- add concise OAuth and API setup guidance
- rename Easy Mode to Beginner Mode
2026-08-30 16:55:25 +08:00
lzt404 7e217a8186 refactor: streamline build packaging and Easy Mode guidance 2026-08-30 16:55:25 +08:00
lzt404 97fbd19f6c refactor: simplify easy mode setup flow and navigation 2026-08-30 16:55:25 +08:00
lzt404 6755b7c90e feat: add easy mode and improve OAuth, API, and agent setup flow 2026-08-30 16:55:25 +08:00
lzt404 6fd6b53e7c fix(version): update core version to 7.2.145 2026-08-29 00:04:27 +08:00
lzt404 2e0b2aef89 fix(usage): calculate overview TPS from valid post-TTFT generation time 2026-08-29 00:04:27 +08:00
lzt404 001a1a5149 fix(version): update core version to 7.2.143 2026-08-28 00:51:28 +08:00
lzt404 cca13235b0 style(usage): improve data repair result spacing 2026-08-28 00:51:28 +08:00
lzt404 eb4f9aeb54 refactor(usage): improve manual cache data repair feedback 2026-08-28 00:51:28 +08:00
lzt404 44dcdf13a8 feat(usage): add manual historical cache data repair 2026-08-28 00:51:28 +08:00
lzt404 f695193e24 fix(usage): normalize cache token accounting 2026-08-28 00:51:28 +08:00
lzt404 4d2ac0edc4 fix(version): update cpa-gui version to 0.2.63 2026-08-26 22:46:23 +08:00
lzt404 cbec0f68de fix(usage): simplify rendering of reasoning effort in UsageEventCell 2026-08-26 22:46:23 +08:00
lzt404 b2c3dda328 fix(version): update core version to 7.2.141 2026-08-26 22:46:23 +08:00
lzt404 cb2cca1d7a fix(codex): align DeepSeek reasoning levels with low high max 2026-08-26 22:46:23 +08:00
lzt404 50df18067b fix(agent): propagate discovered PATH to agent subprocesses
Prioritize the agent executable directory while preserving discovered
search paths for Pi package operations and CLI version probes.

Add coverage for PATH ordering and downstream command resolution.
2026-08-26 22:46:23 +08:00
lzt404 5ebfe43778 fix(version): update cpa-gui version to 0.2.62 2026-08-26 01:56:46 +08:00
lzt404 65e6dca29c fix(usage): pass query when syncing model prices 2026-08-26 01:56:46 +08:00
lzt404 8c80ce1151 fix(model-alias): apply reasoning effort overrides by model source
- Decouple reasoning effort from the Fast service tier
- Generate native override parameters for each provider
- Validate efforts against the model’s supported levels
- Preserve complete reasoning capabilities on configured models
- Add coverage for multi-provider alias overrides
2026-08-26 01:56:46 +08:00
lzt404 463c43aae0 style(usage): center table headers and content
- center-align all usage record columns
- align result badges consistently
- hide the redundant bottom horizontal scrollbar
2026-08-26 01:56:46 +08:00
lzt404 58e58df374 fix(usage): align table width and reduce default window size
- stretch the usage table to match card width
- set the default window size to 1280 × 800
- migrate the legacy default window dimensions
- add coverage for window size migration
2026-08-26 01:56:46 +08:00
lzt404 a662d35876 style(usage): refine overview card metadata
- clarify request, token, and cache summaries
- align success metrics with request outcomes
- improve performance and pricing descriptions
- move detailed breakdowns to hover tooltips
2026-08-26 01:56:46 +08:00
lzt404 05d9ff9f0a style(usage): simplify overview statistic cards
- remove decorative icons from the overview cards
- remove unused card tone styles
- simplify statistic card header layout
2026-08-26 01:56:46 +08:00
lzt404 8629b4e771 fix(usage): prevent table clipping after column changes
- recalculate the top scrollbar from the actual table overflow
- clamp and synchronize scroll positions when visible columns change
- preserve horizontal scrolling while hiding the bottom scrollbar
- remove forced table width expansion for smaller column sets
- improve toolbar and display settings responsiveness
2026-08-26 01:56:46 +08:00
lzt404 4b0fd2062b feat(usage): refine usage records table layout and controls
- remove the redundant usage page header
- compact the navigation and collector status toolbar
- move horizontal scrolling and pagination controls above the table
- hide the bottom horizontal scrollbar
- rename column settings to display settings
- update the default visible columns and display order
- add page size selection and record range details
- adjust the Vite chunk size warning limit
2026-08-26 01:56:46 +08:00
lzt404 a47e941f0a feat(usage): streamline records table controls and layout
- remove the redundant usage page header
- compact the navigation and collector status toolbar
- move the horizontal scrollbar above the table
- move pagination and page size controls above the table
- improve column visibility labels and responsive styles
- adjust the Vite chunk size warning limit
2026-08-26 01:56:46 +08:00