Commit Graph
94 Commits
Author SHA1 Message Date
lzt404 03be4acf93 feat: add multi-source downloads with automatic fallback
- support GitHub, GitCode, gh-proxy, and ghfast sources
- automatically try other sources when version checks fail
- persist the working fallback source and sync the UI immediately
- update translations, configuration migration, and source tests
2026-08-26 01:56:46 +08:00
lzt404 e8093928c0 feat(ui): add confirmation dialog before stopping and updating core
- prompt for user confirmation before stopping running core and updating
- add confirm dialog UI with cancel and update actions
- add multilingual translations for core update confirmation
2026-08-26 01:56:46 +08:00
lzt404 32b47575b5 feat: redesign version management and restore core after updates
- Add a dedicated version management page
- Improve app, core, and model catalog status displays
- Preserve the core runtime state during updates
- Automatically restart the core after successful, failed, or cancelled updates
- Add tests for version management and core runtime restoration
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 2b9ceb11fb Dev (#164)
* 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
2026-08-23 17:56:13 +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
lzt404andFake Trader 57c5f5d774 Dev (#157)
* fix(macos): restore main window on application reopen (#148)

Handle macOS RunEvent::Reopen when no window is visible. Fixes #147.

* fix(version): update core version to 7.2.138

* fix(macos): persist OAuth credentials across DMG upgrades

Migrate app-bundle auth directories to Application Support before updating configuration and prevent future bundle-local OAuth storage.

Fixes #153

* fix(kernel): stop the core before updating

* fix(i18n): use consistent stop terminology for core controls

* fix(opencode): support macOS JSONC configuration detection

Closes #156

---------

Co-authored-by: Fake Trader <9635792+faketrader@users.noreply.github.com>
2026-08-22 15:39:28 +08:00
lzt404 0c83be3727 feat(agents): add Codex app restart and CLI directory history 2026-08-16 02:04:17 +08:00
lzt404 d0609e48f0 feat(agents): restore quick launch support for agent clients 2026-08-16 01:37:38 +08:00
lzt404 607c930d7b fix(zcode): sync model context windows from CPA core 2026-08-15 14:58:56 +08:00
lzt404 49893bb32e feat(agents): add Kimi Code and Grok Build integrations 2026-08-15 14:24:25 +08:00
lzt404 d093a0122e feat(agents): add ZCode client integration 2026-08-15 14:05:21 +08:00
lzt404 5c770c5605 feat: add DeepSeek Harness configuration support 2026-08-15 00:59:17 +08:00
lzt404 18c9546b51 fix(health-check): record Gemini thought-only responses as successful usage 2026-08-14 18:43:12 +08:00
lzt404 ee41ac4922 feat(api-access): improve provider drag-and-drop sorting animations 2026-08-14 18:03:01 +08:00
lzt404 813fbf97a8 feat(api-access): add drag-and-drop provider reordering 2026-08-14 17:42:42 +08:00
lzt404 30fb184384 feat(settings): add automatic core startup preference
- add a default-enabled “Start Core on Launch” setting
- persist the preference in the GUI configuration
- automatically start the CPA core when the app launches
- keep the preference independent from manual core start and stop actions
- add multilingual labels and migration tests
2026-08-14 01:28:52 +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 74be9e85a1 feat(config): add retry controls for long-running requests 2026-08-12 00:31:20 +08:00
lzt404 6d6659407c fix(i18n): update proxy hint messages to clarify protocol support 2026-08-11 22:48:08 +08:00
lzt404 4484e3a190 fix(agents): isolate Claude client model mapping drafts 2026-08-11 14:04:46 +08:00
lzt404 e9470fbe14 fix(agents): support Claude Desktop aliases for Codex OAuth models 2026-08-11 12:29:35 +08:00
lzt404 8655f6aae4 feat(agents): add per-role 1M context controls for Claude 2026-08-10 18:14:35 +08:00
lzt404 4f97ae9167 refactor(api-access): show model counts only 2026-08-10 14:09:12 +08:00
lzt404 906f68f566 refactor: modularize backend architecture and test suite
- split Tauri business logic out of main.rs by domain
- separate agent and core configuration submodules
- organize Rust tests by feature with shared test support
- split frontend locale resources
2026-08-10 13:30:45 +08:00
lzt404 e01bf54a54 fix(settings): persist silent startup preference 2026-08-10 02:04:20 +08:00
lzt404 f9b389781f refactor(auth-files): rename upload action to import 2026-08-10 01:34:48 +08:00
lzt404 642829b23f refactor(auth-files): replace clear disk action with open folder 2026-08-10 01:30:07 +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 ca570b8438 feat(agents): choose working directory for Pi and Codex CLI 2026-08-07 16:42:41 +08:00
lzt404 25c5c3cf61 fix(i18n): rename agents navigation label 2026-08-07 16:26:32 +08:00
lzt404 d448c61a1c fix(i18n): update OAuth configuration label 2026-08-07 16:24:15 +08:00
lzt404 72bd0d5cfd feat(codex): load sessions across all providers 2026-08-04 22:04:17 +08:00
lzt404 5ffde1e668 feat(agents): improve Pi plugin configuration and update handling 2026-08-04 21:30:03 +08:00
lzt404 02c6fac72a fix: track agent config changes and health-check selected models only 2026-08-04 18:07:34 +08:00
lzt404 4d32f58ee2 fix(agents): update applied config only when model selection changes 2026-08-04 17:30:00 +08:00
lzt404 03cf1167f7 feat(agents): add catalog-driven Claude model context configuration
- add explicit Claude model metadata and 1M capability flags
- configure Claude Code model mappings and environment variables
- apply [1m] only to catalog-approved models
- prevent global context overrides from affecting smaller models
- improve Claude Desktop context window configuration
2026-08-04 17:14:04 +08:00
lzt404 0aefe8946c fix(aliases): reset stale model state when reselecting models 2026-08-03 22:58:51 +08:00
lzt404 d698510473 feat(aliases): generate default names and improve Fast toggle 2026-08-03 21:33:48 +08:00
lzt404 216581d444 fix(settings): show saved status only after explicit save 2026-08-03 17:15:42 +08:00
lzt404 5f11001ffa fix(agents): show Codex CLI and App versions separately 2026-08-03 17:03:39 +08:00
lzt404 748996036e feat: add remembered app close behavior settings 2026-08-03 16:34:31 +08:00
lzt404 b936ea12cd fix(i18n): align Japanese locale with Pi agent keys 2026-08-03 14:47:09 +08:00
lzt404 176ff65c4c feat(agents): improve Pi provider management
- Keep Pi status indicators green without modified-state labels
- Add independent configuration sync and plugin uninstall controls
- Automatically configure Pi after plugin installation
- Prevent Linux inotify access events from causing refresh loops
2026-08-03 14:19:39 +08:00
lzt404 218d9dccfa chore(i18n): sync Pi plugin installation description
- Update the English translation for Pi baseUrl and API key configuration
2026-08-03 00:15:51 +08:00
lzt404 035c77354b feat(agents): add Pi CLIProxyAPI provider integration
- Add Pi detection and launch support
- Install the CLIProxyAPI provider extension through Pi
- Sync EasyCLIProxyAPI base URL and API key to Pi configuration
- Add Pi agent UI, translations, documentation, and tests
2026-08-03 00:06:16 +08:00
lzt404 8f7908bf72 docs: update Japanese README screenshots 2026-08-02 22:44:33 +08:00