Include CPA model aliases in Desktop history previews and revision checks. Restore routes and local history through a serialized transaction, rolling core changes back when local restoration fails. Reject legacy fixed-route snapshots without mapping metadata.
Validation: cargo test --locked tests::alias_save (13 passed), including successful route restoration, stale previews, local conflicts, core write failure, and rollback.
Include Claude Desktop mappings in history change detection and preserve the previous selection. Show mapping changes in history previews and invalidate previews when metadata changes.
Validation: 15 history tests pass, including identical-profile model changes and repeated no-op saves.
Ignore inherited client configuration paths in test builds and enforce temporary-home boundaries for history fixtures.
Validation: 435 Rust tests pass, including a child-process regression with inherited client environment overrides.
- Validate configuration revisions and reject ambiguous model mappings
- Preserve raw overrides, conditions, and unchanged settings
- Serialize saves and restore configuration after write failures
- Add regression coverage and remove comments from affected files
Resolve existing aliases from their configuration, preserve metadata and unrelated payload parameters, and keep shared rules intact when renaming or changing sources.
Fix dialog feedback, keyboard focus, and narrow layouts. Add regression coverage for alias edits and browser interactions.
- Remove 3 unused functions and 2 unread fields
- Gate test-only types and helpers with #[cfg(test)]
- Verify all 403 Rust tests pass and check/release builds emit no warnings
Stop writing the OpenCode-specific npm field and clean up values
left by earlier versions when synchronizing ZCode configuration.
Add regression coverage for both app and CLI configs.
Closes#231
- Resolve context limits from core model definitions, aliases, and configuration
- Preserve user overrides and display context sources and fallback hints
- Refresh defaults from CPA when restoring all model settings
- Keep restore-all available without customizations and remove its icon
- Allow saving restored defaults even when values remain unchanged
- Add regression coverage for context resolution and default restoration
- Move blocking usage queries and core lifecycle operations to background
workers, limit concurrency, and prevent overlapping core operations
- Coalesce statistics refreshes and consolidate category aggregations,
reducing unfiltered analysis queries from 11 to 4
- Cache bundled model prices, reuse management API connections, and reduce
redundant checks in the usage collector
- Throttle download progress and guide positioning updates, and avoid
redundant renders when core status is unchanged
- Bound and coalesce configuration watcher events, and reuse a single
model catalog refresh worker
- Stop scheduling remaining health checks when the dialog closes and
limit backend health-check concurrency
- Replace overlapping OAuth polling with sequential requests, retry
backoff, timeouts, and stale callback protection
- Add regression tests and a statistics benchmark script, and move
performance verification documentation to agent_docs
- add per-model context, reasoning, modality, visibility, and parallel tool settings
- persist customizations separately and apply them during catalog generation
- support restoring individual or all models to official fallback templates
- expose full fallback reasoning levels while keeping Fast available
- add localized UI, validation, documentation, and regression tests
- Sync all 11 dedicated model templates from the upstream Codex catalog
- Preserve official context windows, prompts, capabilities, and reasoning levels
- Remove the custom Spark and DeepSeek dedicated templates
- Move fallback model metadata into a standalone embedded resource
- Prevent remote catalogs and local caches from overriding fallback configuration
- Add catalog revision checks to prevent older templates from replacing newer ones
- Keep Fast mode available for both dedicated and fallback models
- Add regression coverage for Astra generation, catalog revisions, and fallback isolation
Validation: all 332 backend tests pass.
- Align fallback defaults and instruction structure with upstream Codex while preserving Fast availability for all models
- Stop forcing fallback reasoning levels or inferring original-image support
- Sync managed catalogs on model refresh, configuration changes, and every 30 seconds
- Remove unavailable models, replace missing defaults, and handle empty-list recovery
- Preserve existing configuration on request failures or invalid responses
- Serialize refreshes, update UI model lists, and preserve backups across restarts
- Add regression coverage for fallback compatibility, stale-model cleanup, and configuration recovery
- 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
- 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
- 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
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.
- 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
* 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
* 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
* 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
* 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
* 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(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>
- 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