Commit Graph
59 Commits
Author SHA1 Message Date
lzt404 6755b7c90e feat: add easy mode and improve OAuth, API, and agent setup flow 2026-08-30 16:55:25 +08:00
lzt404 f695193e24 fix(usage): normalize cache token accounting 2026-08-28 00:51:28 +08:00
lzt404 cb2cca1d7a fix(codex): align DeepSeek reasoning levels with low high max 2026-08-26 22:46:23 +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 1af6a7cfea feat(usage): add configurable speed and cache rate columns 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 68da51bae0 Dev (#172)
* 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

* fix(model-aliases): support provider-aware OAuth aliases

- map OAuth aliases to their correct provider channels
- support Antigravity aliases with force mapping
- read and delete aliases by their exact OAuth channel
- refresh the runtime model registry after alias changes
- restrict Fast aliases to GPT models from OpenAI-compatible or Codex sources

* docs(readme): add APIMart sponsorship sections

- add English and Chinese sponsor descriptions
- add localized APIMart banner images
2026-08-24 17:16:00 +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 e60b47fd7c chore(release): stop publishing legacy Windows update packages (#159) 2026-08-22 17:00:10 +08:00
lzt404andFake Trader b15773b0f4 Dev (#158)
* 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

* fix(update): preserve legacy macOS manifest compatibility

---------

Co-authored-by: Fake Trader <9635792+faketrader@users.noreply.github.com>
2026-08-22 16:24:34 +08:00
lzt404 3ec3d18136 fix(update): repair signed macOS auto-update flow
Closes #143
2026-08-21 17:28:05 +08:00
lzt404 0c83be3727 feat(agents): add Codex app restart and CLI directory history 2026-08-16 02:04:17 +08:00
lzt404 51ea7fd69f fix(agents): sync Kimi and Grok context windows with CPA core 2026-08-15 15:51:56 +08:00
lzt404 b312b904a2 fix(agents): speed up detection and sync ZCode default model 2026-08-15 15:28:01 +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 18c9546b51 fix(health-check): record Gemini thought-only responses as successful usage 2026-08-14 18:43:12 +08:00
lzt404 813fbf97a8 feat(api-access): add drag-and-drop provider reordering 2026-08-14 17:42:42 +08:00
lzt404 be08a4bfdf fix(oauth): persist successful login status across navigation 2026-08-11 18:38:57 +08:00
lzt404 7b192cc6a4 fix(agents): preserve unapplied Claude model drafts across navigation 2026-08-11 18:18:23 +08:00
lzt404 476d6e6769 fix(agents): isolate Claude Code and Desktop mapping state 2026-08-11 14:12:16 +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 6d09a6490d feat(update): support Linux and macOS auto-updates 2026-08-10 14:05:57 +08:00
lzt404 32036b2f17 fix(aliases): allow Fast selection before choosing a model
- support creating plain model aliases without requiring Fast
- enable the Fast toggle before an original model is selected
- preserve Fast state for compatible models and handle plain alias deletion
2026-08-08 22:13:27 +08:00
lzt404 d2f238f829 refactor(agents): remove direct client launch functionality 2026-08-07 23:04:18 +08:00
lzt404 dd86eabefa refactor(scripts): split and harden release tooling 2026-08-07 14:54:55 +08:00
lzt404 65df80091c fix(openai-compatibility): append chat and models paths directly to base URLs 2026-08-07 13:47:49 +08:00
lzt404 5ad07df8ee fix(ci): recover from stalled GitCode asset uploads 2026-08-05 17:44:19 +08:00
lzt404 ff1ac4ca5a fix(release): stream GitCode asset uploads with curl 2026-08-05 17:11:01 +08:00
lzt404 06f024abde feat(release): add GitCode fallback mirror 2026-08-05 16:23:17 +08:00
lzt404 391fc877a7 ci(release): automate app versioning from Git tags 2026-08-05 15:37:43 +08:00
lzt404 02c6fac72a fix: track agent config changes and health-check selected models only 2026-08-04 18:07:34 +08:00
lzt404 cc2636d815 feat(api-access): support multiline API key editing 2026-08-04 01:25:22 +08:00
lzt404 eb7fe25dd2 fix(model-aliases): avoid collisions with existing model names 2026-08-03 23:17:28 +08:00
lzt404 8e932067b7 fix(model-aliases): reset stale state when switching source 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 de4227421e feat(updater): keep publishing legacy Windows update packages
- Publish legacy update ZIPs for every Windows release
- Support both legacy and full assets in the update manifest
- Keep older clients compatible while newer clients update bundled core
2026-08-03 16:02:50 +08:00
lzt404 efc8811d0c feat: refine WebUI access and Claude Desktop model mappings
- add a shortcut to open the management WebUI
- hide redundant runtime credential identifiers
- simplify health check descriptions
- use existing Claude model aliases directly
- preserve context capabilities from original models
2026-08-02 16:14:25 +08:00
lzt404 1a33b006e2 feat(api-access): add per-model health checks with true first-token latency 2026-08-02 15:54:03 +08:00
lzt404 fd5d1f0ba4 feat(api-access): add provider health checks with multi-key status and latency 2026-08-02 15:32:48 +08:00
lzt404 1edf647581 feat(agents): map Claude Desktop context capabilities from model API 2026-08-02 15:17:07 +08:00
lzt404 eaefcd6d9b fix(aliases): allow reasoning effort and Fast mode together 2026-08-02 14:57:31 +08:00
lzt404 aa8a7cbd84 feat(aliases): integrate Fast options into model alias management 2026-08-02 14:47:20 +08:00
lzt404 5924faaac3 feat(usage): format statistics with automatic M and B units 2026-08-02 14:30:08 +08:00
lzt404 85e0764ad9 feat(oauth): consolidate credential and quota management
- add tabbed navigation to the OAuth page
- move auth files and quota lookup into OAuth
- remove their standalone sidebar entries
2026-08-02 00:51:19 +08:00
lzt404 365356969e feat(updater): migrate Windows updates to full release packages
- add a v0.2.10 legacy updater bridge
- support both legacy and full update archives
- stop publishing dedicated update packages after v0.2.10
- preserve user data during full-package upgrades
2026-08-02 00:45:45 +08:00
lzt404 b66afcf2c5 update ui 2026-07-31 01:55:16 +08:00
lzt404 bbe22a96eb feat: add credential priority controls and OAuth defaults 2026-07-30 01:21:48 +08:00