Commit Graph
264 Commits
Author SHA1 Message Date
lzt404 259389f2b2 fix(claude-code): persist runtime settings and clean up managed configuration
- Persist auto-compaction preferences and allow reducing 1M windows
- Remove stale managed settings while preserving user changes
- Normalize Fable model comparisons
- Add regression tests and real Claude Code integration coverage
2026-10-08 18:36:58 +08:00
lzt404 97ba1051a2 feat(claude-code): refine model mapping UI and defaults
- Add independent Fable model mapping
- Rename startup model to default model
- Default to the Opus mapping and preserve Subagent inheritance
- Replace 1M checkboxes with standard toggle switches
- Align form fields and simplify explanatory text
- Remove bulk role synchronization
- Update translations and regression tests
2026-10-08 18:36:58 +08:00
lzt404 b90445143c feat(claude-code): align model mapping UI with Claude Code settings
- Add per-role model rows with inline 1M context controls
- Add bulk action to apply Sonnet settings to all roles
- Persist startup model and context settings in official settings.json fields
- Preserve custom role mappings and Subagent configuration
- Add multilingual labels and UI regression coverage
- Validate behavior with real Claude Code 2.1.292
2026-10-08 18:36:58 +08:00
lzt404 d7e39e8fdc Add Oh My Pi support through the OpenAI Responses API
Discover CPA models dynamically and route the managed provider to /v1/responses.
2026-10-08 18:36:58 +08:00
lzt404 25ed568b27 fix(providers): stop writing disabled onto native API keys
Codex, Claude, and Gemini keys reject the disabled field, so toggling them made the whole config fail to load. Keep that field for OpenAI-compatible providers, disable native keys with excluded-models, and repair existing configs before the core starts.
2026-10-06 15:36:29 +08:00
lzt404 ed988f7998 Decouple Claude Code model management from CPA routing
Add independent controls for the startup model and Subagent model. Preserve Claude Code model selection and inheritance when CPA management is disabled.

Fixes #348
2026-10-06 15:36:29 +08:00
lzt404 317c6df98f fix(core): prevent duplicate management mapping during startup
- Preserve hashed management keys written by the v8 core
- Avoid rewriting hashed keys with the GUI plaintext value
- Prevent duplicate top-level management mappings

Fixes #351
2026-10-06 13:41:35 +08:00
lzt404 8d3912f81b fix(usage): persist view preferences across updates
- Save pagination, visible columns, and column widths to the app data directory
- Migrate existing localStorage preferences and restore them on startup
- Preserve user choices instead of applying new defaults during upgrades
- Add regression tests for preference recovery and update preservation
2026-10-06 13:41:35 +08:00
lzt404 8f23fac80b Remedial measures to enhance the detection of blank key situations 2026-10-06 13:41:35 +08:00
lzt404 dccc45f57d fix: restore usage statistics after core upgrades
- Persist explicit opt-out in the app's config.toml
- Remove usage_statistics_disabled when users re-enable statistics
- Enable statistics on core startup unless explicitly disabled
- Add regression tests for v7/v8 compatibility and opt-out persistence
2026-10-06 01:22:41 +08:00
lzt404 6e34850780 style(usage): show reasoning effort under the model name
Drop the separate reasoning-effort column from request details and render the raw effort, or auto, directly beneath the model name. Include it in the model tooltip, reset saved layouts that still use the old default column, and keep the field in CSV export.
2026-10-06 01:22:41 +08:00
lzt404 56a88ccb6f fix(usage): export filtered events and fix dark mode contrast
Export every request matching the current filters, remember the selected page size, and use dark surfaces for filter menus and request cards.
2026-10-05 16:10:37 +08:00
lzt404 06fd58d3d8 fix(v8): preserve migrated config and correct provider requests
- Preserve provider credentials, aliases, headers, and network settings during migration
- Normalize Claude cloak metadata and repair previously saved invalid types
- Use streaming Gemini health probes and honor group and key proxy settings
- Retain Codex customizations for temporarily unavailable models
- Add regression tests for migration, metadata, proxy routing, and catalog persistence
2026-10-04 17:31:52 +08:00
lzt404 2b49fe6a25 feat: refine usage views and add Codex system prompt editing
- Brighten usage subpages with consistent surfaces and text contrast
- Show reasoning effort by default and migrate saved column settings
- Hide HTTP method prefixes and tighten request table spacing
- Support custom Codex system prompts and synchronize instruction templates
- Add a clear button to plugin search
- Update localization, mocks, and regression tests
2026-10-04 17:31:52 +08:00
lzt404 dfba9b019f feat: improve request pricing, model diagnostics, and client discovery
- Align response model handling with CPA-Manager-Plus and flag routing mismatches
- Add per-request costs and CSV export; fix mixed-context cost aggregation
- Display API-reported access types and move providers next to timestamps
- Use white table backgrounds and simplify cost and status displays
- Expand client discovery paths, validate executables, and prioritize installed clients
- Add model, pricing, client discovery, and UI regression tests
2026-10-04 17:31:52 +08:00
lzt404 0e7437493d fix(api): align management requests and configuration with v8
- Use native v8 routes for credentials, models, OAuth, and API calls
- Remove implicit legacy endpoint and response transformations
- Serialize OAuth exclusion updates while preserving other providers
- Send YAML as raw text and preserve explicit null request bodies
- Update mocks and regression tests, including migrated Claude aliases
2026-10-04 17:31:52 +08:00
lzt404 245319be2d feat: redesign advanced settings and client navigation, fix config compatibility
- Reorganize settings cards and improve responsive layouts, save states, and navigation
- Move model aliases to a dedicated tab and improve search and keyboard interactions
- Add pagination to the agent client list and update localized management text
- Use public model IDs consistently for Codex selection and catalogs
- Fix v8 migration and preserve keys, providers, and aliases in mixed configurations
- Improve the stop-core button styling and expand UI and configuration regression tests
2026-10-04 17:31:52 +08:00
lzt404 2649df000c feat: support DeepSeek Harness Desktop and refine management UI
- Detect and launch DeepSeek Harness Desktop on Windows
- Improve agent client selection and responsive layouts
- Unify dashboard runtime and connection card styling
- Streamline plugin navigation, cards, and installation dialogs
- Update translations and regression tests
2026-10-04 17:31:52 +08:00
lzt404 d29a1af69b feat: add plugin management and redesign dashboard and usage analytics
- Add plugin store, version selection, configuration, and OAuth login
- Support Muse (Meta) OAuth device authorization
- Redesign home dashboard and add batch model health checks
- Support per-credential provider editing, removal, and reordering
- Improve usage charts and track actual response models
- Preserve installed plugins and runtime data during portable rebuilds
- Update translations, documentation, and related tests
2026-10-04 17:31:52 +08:00
lzt404 fdf56ee7eb feat(config): redesign settings navigation and preserve v7 config migration
- reorganize advanced settings with horizontal navigation, search, and contextual help
- remove LAN discovery and trusted proxy settings
- add robust v7-to-v8 migration for custom, plugin, routing, TLS, and credential fields
- preserve unsaved drafts during external configuration refresh
- add migration and settings UI coverage
2026-10-04 17:31:52 +08:00
lzt404 c89e2fb020 feat(config): support CLIProxyAPI v8.0.10 template settings
- Add structured editors for request, OAuth, plugin, and concurrency settings
- Expand advanced configuration for all eight provider families and credentials
- Preserve YAML comments, secrets, unknown fields, and explicit overrides
- Add validation, conflict detection, default restoration, and restart notices
- Improve responsive layouts and localize configuration controls
- Fix provider health checks and extend mocks and integration tests
2026-10-04 17:31:52 +08:00
lzt404 84fe2be8ac feat(api-access): support native CPA v8 groups and fix alias source validation 2026-10-04 17:31:52 +08:00
lzt404 5aff4d8a58 fix(config): restore 123456 as the default WebUI key
Stop rejecting and auto-rotating the legacy management key so new configs default to 123456 and users can save that value.
2026-10-04 17:31:52 +08:00
lzt404 49d1475d21 Optimize support for the 6.1-sol model 2026-10-01 02:23:59 +08:00
lzt404 bf3011b680 fix(core): preserve config reload and macOS OAuth recovery
Keep core config writes on the watched file so repeated saves take effect.
Recover credentials from the update backup when the new macOS app has an empty OAuth directory.
Complete the v0.3.11 release notes in four languages.
2026-09-29 15:25:14 +08:00
lzt404 21b3f85dca fix(workbuddy): detect macOS executable from Info.plist 2026-09-29 15:25:14 +08:00
lzt404 e2d0d31edb Remove redundant buttons 2026-09-28 21:03:59 +08:00
lzt404 59b05e9281 Enhance support for the v8 kernel 2026-09-28 16:42:22 +08:00
lzt404 9991aea818 fix(updater): prevent busy DMGs from blocking macOS updates
Prefer diskutil eject with retries and a compatibility fallback. Defer failed cleanup without blocking verified updates, preserve mounted directories, and add regression tests.
2026-09-28 16:42:22 +08:00
lzt404 3cfee2451d Supports the latest version of zcode (but I hope you won't use it) 2026-09-28 16:42:22 +08:00
lzt404 4b9bb22c87 Delete redundant code 2026-09-28 16:42:22 +08:00
lzt404 5bc3142249 fix: recover macOS OAuth data from app update backups 2026-09-28 12:47:33 +08:00
lzt404 82089faaf1 fix: preserve configuration and credentials during v7-to-v8 upgrades 2026-09-28 12:47:33 +08:00
lzt404 7c5b65a153 fix(config): correct cross-platform paths and v8 config updates
- Extend OAuth directory recovery to Windows and Linux
- Align credential path resolution and log directory selection with the core
- Update v8 TLS and logging fields without requiring a version marker
- Support flow-style YAML mappings and preserve null legacy TLS fields
- Add regression tests for path recovery and config updates
2026-09-28 00:22:03 +08:00
lzt404 6dd8646afc fix(macos): harden OAuth credential directory recovery
- Normalize auth paths before comparison and credential scanning
- Update effective v8 auth-dir fields without requiring a version marker
- Preserve active credentials and configuration when recovery fails
- Add regression tests for config reloads and v7-to-v8 upgrades
2026-09-28 00:22:03 +08:00
lzt404 6f9abad6f7 fix(macos): recover OAuth credentials from legacy relative auth-dir 2026-09-27 21:32:32 +08:00
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 02d5a2d469 feat(linux): add system tray with safe window fallback 2026-09-27 20:03:33 +08:00
lzt404 ecf0ad58fd fix(agents): disable Claude Code server-side auto mode checks for CPA gateways 2026-09-27 18:13:01 +08:00
lzt404 9c67b9d40c feat(i18n): replace hardcoded Chinese messages with English 2026-09-27 16:33:50 +08:00
lzt404 ae5471642e fix: refresh app updates and apply the bundled core 2026-09-25 22:36:50 +08:00
lzt404 2432220677 feat(usage): update model pricing from external catalogs 2026-09-25 14:51:56 +08:00
lzt404 345e228a91 fix(usage): use unique database row IDs for event list keys
Fixes #298
2026-09-23 21:35:59 +08:00
lzt404 8f716f9e01 feat(config): add sensitive words settings for Antigravity and Devin 2026-09-23 21:35:59 +08:00
lzt404 e409bfaf7c feat(codex): add official GPT-6 Sol and Luna model templates 2026-09-23 21:35:59 +08:00
lzt404 286f4bbe1b feat(agents): allow CPA configuration for config-only clients 2026-09-23 02:47:28 +08:00
lzt404 b0f69877f8 fix(agents): allow WorkBuddy configuration without detected app 2026-09-23 02:47:28 +08:00
lzt404 0bb6eab4cb refactor(agents): remove Cursor CLI support 2026-09-23 02:47:28 +08:00
lzt404 8901eff9bb feat(agents): add Cursor CLI support and remove Antigravity and Cursor IDE integrations 2026-09-21 21:58:01 +08:00
lzt404 84c29782b0 fix(agents): fix antigravity settings path resolution and CLI launch in PowerShell
Resolve Antigravity IDE configuration directory from installed executable metadata and product.json before falling back to legacy paths.

Launch Antigravity CLI via System.Diagnostics.Process and wait for process exit when running under Windows PowerShell to avoid console I/O contention.

Add unit tests for executable product metadata resolution and PowerShell CLI process synchronization.
2026-09-21 21:58:01 +08:00