Commit Graph
69 Commits
Author SHA1 Message Date
lzt404 c52039dfed fix: handle missing v8 config nodes and normalize alias transaction views
- Default absent optional config nodes to empty values without hiding other errors
- Normalize empty parent mappings to prevent alias save and rollback conflicts
- Add regression tests for missing config, first-time alias creation, and rollback
2026-09-27 20:03:33 +08:00
lzt404 2432220677 feat(usage): update model pricing from external catalogs 2026-09-25 14:51:56 +08:00
lzt404 615188b390 feat(agents): add Antigravity IDE and CLI support
- Add separate configuration entries for IDE and CLI
- Integrate Gemini-compatible routing and scoped credentials
- Support detection, launch, backup, restore, and IDE restart
- Add localized guidance and configuration, UI, and native integration tests
2026-09-21 21:58:01 +08:00
lzt404 e9fd393ace fix(macos): support system menu bar icon visibility settings 2026-09-20 18:09:32 +08:00
lzt404 e9805b395d chore(version): bump cpa-gui version to 0.2.97 2026-09-18 18:27:16 +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 f4d91b59fc fix(agents): probe Windows installs without encoded PowerShell 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 e7f96e12d7 chore(version): update cpa-gui version to 0.2.96 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 bc2c873df1 chore: update version to 0.2.91 2026-09-15 02:39:03 +08:00
lzt404 51ac7fea87 chore: update dependencies in Cargo.toml 2026-09-11 16:25:14 +08:00
lzt404 739c6e1711 feat(theme): support system appearance across desktop platforms
- Use Tauri native theme APIs with Linux desktop preference support
- Fall back to WebView theme detection for startup and browser preview
- Add a follow-system option to both standard and beginner modes
- Persist preferences and handle resume events and async race conditions
- Add translations and theme behavior and UI regression tests
2026-09-11 16:25:14 +08:00
lzt404 1de7e3f3bb fix(cpa-gui): update version to 0.2.81 2026-09-09 12:13:57 +08:00
lzt404 5548324c8f fix: update cpa-gui version to 0.2.80 2026-09-08 19:39:34 +08:00
lzt404 adb708c32a fix(version): update cpa-gui version to 0.2.78 2026-09-07 19:28:21 +08:00
lzt404 bc04b2c255 chore: update dependencies in Cargo.toml 2026-09-07 01:27:03 +08:00
lzt404 584c63bf2a fix(version): update cpa-gui version to 0.2.73 2026-09-06 01:28:58 +08:00
lzt404 8575f4e17e fix(version): update cpa-gui version to 0.2.72 2026-09-05 18:05:57 +08:00
lzt404 ae55150b19 fix(version): update cpa-gui version to 0.2.71 2026-09-04 01:50:46 +08:00
lzt404 3695e19cb4 fix(dependencies): update cpa-gui version to 0.2.70 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 fd3a04a3d8 chore(version): update cpa-gui version to 0.2.66 2026-08-30 16:55:25 +08:00
lzt404 4d2ac0edc4 fix(version): update cpa-gui version to 0.2.63 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 647806386b fix: isolate core processes per installation directory
- Match core processes by their actual executable paths
- Prevent different EasyCLIProxyAPI installations from interfering
- Adopt orphaned core processes from the current cpa-core directory
- Rescan and terminate owned core processes during shutdown
- Enforce a single app instance per installation directory
- Clean up core processes that fail to enter the Windows job object
- Add multi-directory process isolation and instance lock tests
2026-08-26 01:56:46 +08:00
lzt404 bb8f23cbc8 feat(version): add manual GitCode download source option
- Add a GitCode source toggle to Version Management
- Persist the preferred download source
- Prefer GitCode for app and core updates with GitHub fallback
- Add localized copy, documentation, and download-order tests
2026-08-26 01:56:46 +08:00
lzt404 3d44eba492 Dev (#166)
* chore(release): stop publishing legacy Windows update packages

* feat(agents): support OpenCode Desktop across platforms

Detect CLI and desktop installations on Windows, macOS, and Linux, and add separate launch and restart controls.

Closes #156

* fix(codex): align model display names and show total session count

- preserve runtime model identity in generated catalogs
- count distinct sessions across database and rollout sources
- update session count labels in all supported languages

* fix(codex): keep config and auth files in sync

- generate auth.json for API key configuration
- preserve and validate OAuth credentials
- include auth.json in transactional updates and rollback
- retain compatibility with legacy Codex configuration states

* fix(cpa-gui): update version to 0.2.59 in Cargo files

* fix(codex): preserve OAuth mode after closing configuration

* feat(config): add TLS management and protocol-aware local URLs

- add TLS controls to advanced settings
- persist certificate and private key paths
- restart the core after TLS changes
- switch WebUI, API and management URLs between HTTP and HTTPS
- synchronize agent configurations and detection with the active protocol

* refactor(config): reorganize network, routing, and TLS settings

- split network settings and session routing into separate tabs
- move TLS configuration into network settings
- preserve TLS restart and HTTPS URL synchronization behavior

* feat(config): add independent network settings and custom listen IP

* fix(navigation): allow access to usage records while core is stopped

* refactor(home): show a single API URL based on the configured listen IP

* feat(config): add file pickers for TLS certificate and private key

* fix(usage): distinguish client cancellations from request failures

- persist usage failure status and response details
- classify HTTP 499 and canceled contexts separately
- exclude canceled requests from failure statistics
- add canceled filtering and failure details to the usage UI
- migrate and backfill existing usage records

* feat(ui): revamp usage records and improve app interactions

- redesign usage records dashboard, filters, charts, and pricing views
- add resizable centered columns with persisted widths
- expose OpenCode desktop launch and restart actions
- suppress the API access enabled success notice

* feat(agents): persist applied configurations across app restarts

- preserve applied agent configs and managed Claude aliases on exit
- keep explicit close actions restoring original configurations
- add Codex restart persistence regression coverage
- bump desktop version to 0.2.61
2026-08-23 23:20:40 +08:00
lzt404 d0bd5a890a Dev (#162)
* chore(release): stop publishing legacy Windows update packages

* feat(agents): support OpenCode Desktop across platforms

Detect CLI and desktop installations on Windows, macOS, and Linux, and add separate launch and restart controls.

Closes #156

* fix(codex): align model display names and show total session count

- preserve runtime model identity in generated catalogs
- count distinct sessions across database and rollout sources
- update session count labels in all supported languages

* fix(codex): keep config and auth files in sync

- generate auth.json for API key configuration
- preserve and validate OAuth credentials
- include auth.json in transactional updates and rollback
- retain compatibility with legacy Codex configuration states

* fix(cpa-gui): update version to 0.2.59 in Cargo files
2026-08-23 16:19:03 +08:00
lzt404 ede043e1d8 fix(version): update cpa-gui version to 0.2.26 2026-08-21 17:31:06 +08:00
lzt404 d0609e48f0 feat(agents): restore quick launch support for agent clients 2026-08-16 01:37:38 +08:00
lzt404 b933a0fa99 chore(version):change version to v0.2.24 2026-08-15 14:34:00 +08:00
lzt404 18c9546b51 fix(health-check): record Gemini thought-only responses as successful usage 2026-08-14 18:43:12 +08:00
lzt404 2888042645 feat(oauth): add browser selection and refreshable login links
- detect installed browsers and remember the selected option
- support generating OAuth links without opening a browser
- refresh login links after cancelling the previous OAuth session
- update multilingual labels and responsive styles
- bump app version to 0.2.21 and core version to 7.2.131
2026-08-14 01:20:02 +08:00
lzt404 582fa32755 feat(usage): migrate legacy records to durable subscription storage
- back up and transactionally migrate legacy usage databases
- add durable inbox with retry, recovery, and cleanup
- prefer RESP usage subscription with HTTP fallback
- preserve existing usage APIs, queries, and deduplication behavior
- add migration, inbox, and RESP protocol tests
2026-08-11 23:41:04 +08:00
lzt404 3b3f1ea15f chore:change version to 0.2.19 and core version to 7.2.128 2026-08-11 18:52:13 +08:00
lzt404 6d09a6490d feat(update): support Linux and macOS auto-updates 2026-08-10 14:05:57 +08:00
lzt404 7c52797b57 chore(version):change version to v0.2.17 2026-08-10 11:01:19 +08:00
lzt404 d05d12308b feat(settings): add system autostart support
- integrate Tauri autostart management with rollback on save failures
- redesign the software settings panel for startup and close behavior
- add localized labels and responsive styling
2026-08-08 16:06:53 +08:00
lzt404 d2f238f829 refactor(agents): remove direct client launch functionality 2026-08-07 23:04:18 +08:00
lzt404 7ee28e10b0 feat(proxy): apply configured proxy to app network requests 2026-08-07 21:54:58 +08:00
lzt404 e8b2ced3f8 feat(updater): add GitCode fallback for GUI and CLIProxyAPI core releases
- split GitCode repositories into GUI and core build variables
- query GitCode latest release when GitHub version discovery fails
- construct GitCode attachment URLs from repository, tag, and asset filename
- retry core downloads through GitCode when GitHub downloads fail
2026-08-07 15:20:30 +08:00
lzt404 391fc877a7 ci(release): automate app versioning from Git tags 2026-08-05 15:37:43 +08:00
lzt404 760da899ed chore(versiom): change version to v0.2.14 2026-08-05 13:33:49 +08:00
lzt404 c1933eb5e0 chore: change version to v0.2.13 2026-08-04 18:09:00 +08:00
lzt404 216581d444 fix(settings): show saved status only after explicit save 2026-08-03 17:15:42 +08:00
lzt404 b22b6b4a64 chore(release): prepare v0.2.11
- Bump package, Cargo, and Tauri versions to 0.2.11
2026-08-03 14:35:49 +08:00
lzt404 f57fb75b5c chore: bump version to v0.2.10 2026-08-02 17:51:50 +08:00
lzt404 faa7e97326 feat(agents): overhaul Claude Code configuration and launch flow
- add role-based Opus, Sonnet, and Haiku model mappings
- redesign the Claude Code configuration interface
- launch the CLI with a selected working directory
- use the native system directory picker
- inject managed environment variables at runtime
- use token-only authentication and migrate legacy dual-auth configs
- persist the working directory prompt preference
2026-08-02 16:59:27 +08:00
lzt404 88baeab512 feat(config): improve agent and WebUI configuration security
- add WebUI management key settings
- generate strong per-install management secrets
- rotate the legacy 123456 management key on upgrade
- preserve custom management keys
- restore Codex configuration without a state JSON file
2026-08-02 00:08:16 +08:00