A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
Rust ai-toolsclaude-codecodexdeepseek-harnessdesktop-appgrokgrokbuildhermeskimi-codemcpopen-sourceopencodepiprovider-managementrustskillsskills-managementtauriwsl-support
chore(release): v4.0.48
Jasonb4ff33a06713
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2f43ee337..79c33191c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,60 @@ All notable changes to CC Switch will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## [4.0.48] - 2026-12-04++Qoder CLI joins as the nineteenth managed app, with its international and China editions as one app: custom providers are additive cards written to the selected edition's `settings.json`, each collected Qoder account gets an official card, and MCP, Skills, `AGENTS.md`, sessions and usage cover both editions. A guided tour of the main pages replaces the welcome dialog and is shown once to every user, existing ones included, and the About page can replay it. Antigravity accounts can be added inside the app through `agy acp --login`, the tray lists every app (additive apps add a provider from the tray), Codex sessions can be filtered by archive status, and Linux enables WebView acceleration on WebKitGTK 2.44+, with blurred tray panels on native Wayland compositors that support it. Fixes cover the local route returning 502 after the system proxy app quits, Claude Code saving zero usage for OpenAI-format replies, Codex reasoning-only turns ending silently, Responses gateways that reject `temperature` / `top_p`, Codex hosted web search on Gemini relays and in aggregation, Antigravity quota checks opening sign-in prompts, the Linux window growing on each restore, Windows Store Codex CLI detection, DeepSeek Harness files with a UTF-8 BOM, and more.++**Stats**: 49 commits | 310 files changed | +25887 insertions | -1810 deletions++### Added++- **Qoder CLI** (#8706, b1236a1bc, da3076f2a, 029e6f0e3): Qoder CLI is one app with an edition setting (international `~/.qoder` / China `~/.qoder-cn`; unset follows the interface language, then the system locale). Install and upgrade from the Apps page. Custom providers are additive database cards: "Add" writes `providers.<id>` into the selected edition's `settings.json` (JSONC, order and comments kept), "Remove" takes it out and keeps the card, and providers already in the file are imported on open; both editions share the cards and "added" is computed from the selected edition's file. "Set as default" in the card menu sets `model.name` per model (`auto` on official cards). Each collected Qoder account has its own official card, where "Add" switches Qoder's login; accounts are collected only when asked and removing one never signs out of Qoder. MCP (`mcpServers`), Skills and `AGENTS.md` sync to the selected edition, sessions and usage are imported from both, and the tray lists Qoder as add-only. No local routing. Changing the edition refreshes the provider list and the tray. Removing a JSONC member no longer leaves a whitespace-only line, which also applies to the OpenCode, OpenClaw, OMO, CodeBuddy and VS Code Copilot files written the same way.+- **Guided Tour** (#9236, 830688593, a3cad14cd): A spotlight tour (welcome, apps sidebar, provider cards, Add, connection modes, MCP / Skills / Plugins / Prompts / Sessions, Apps page, Usage, Auth Center, Settings) replaces the welcome dialog. It is tracked by a new device-local `onboardingTourSeen` setting rather than `firstRunNoticeConfirmed`, so every user sees it once after updating; skipping or finishing it marks it seen, and Settings → About → "Tutorial" replays it. The "new layout" dialog and the update summary wait until the tour is closed, and closing it marks the new layout dialog as seen; fresh installs and 3.x upgraders also skip this version's update summary, while users already on 4.x see it right after the tour. The provider step describes v4 switching (only endpoint, key and model are replaced) and the Switch / Add / Remove button labels.+- **Antigravity In-App Login** (#10103, refs #10100): Adding an Antigravity account in the Auth Center runs `agy acp --login`: the Google sign-in page opens in the browser (or the link is copied when "open browser" is off) and the code or callback URL is pasted back into CC Switch. Older agy builds without ACP login fall back to the login terminal.+- **Every App in the Tray** (#9061): The tray covers all managed apps, filtered and ordered by the Apps page's visibility toggles and `appOrder`. Additive apps show "Added N" and clicking an unchecked provider adds it (removing stays in the main window); Antigravity cards and the official login cards of Copilot, WorkBuddy and CodeBuddy jump to the app page. A broken provider row no longer blocks adding others, and panel lists cap at 480px.+- **Codex Session Archive Filter** (#10190, fixes #9614): With Codex selected, Sessions filters by All statuses / Archived / Unarchived. Narrowing the filter drops out-of-scope selections, "Select all matches" respects it, and the batch delete confirmation shows the archive filter, search term and count.+- **Wayland Tray Blur and Linux WebView Acceleration** (#10298): On WebKitGTK 2.44+ with accessible GPU render devices the WebView is now accelerated with shared-memory frame transport (no DMA-BUF), and older WebKitGTK or missing render devices keep software rendering; `CC_SWITCH_DISABLE_GPU=1` forces software rendering (documented in all eight READMEs). In a native Wayland session whose compositor advertises `ext-background-effect-v1` (e.g. recent KWin), with accelerated rendering, the tray panel gets a native blurred background that follows its rounded corners and sub-panel; XWayland (the AppImage default), software rendering and other compositors keep the solid panel.+- **Presets and Pricing**: The official MiniMax / MiniMax en presets ship MiniMax-M4 for large slots and MiniMax-M3.1-Flash for small ones across eight apps (#10285), with M4 pricing seeded (3cb4f67e4). GLM-5.4 pricing is added, and expired promotional prices are restored to list prices for GPT-5.6 Sol and Gemini 4 Argon / Carbon; Gemini 2.5 Pro, now served by Gemini 3.8 Flash, follows its rates (f19c65c9f).++### Changed++- **Text Selection and Context Menu** (#8761, fixes #8756): Interface text is no longer selected by default and the WebView system context menu (Look Up / Share / Services) is suppressed, except in inputs, editors, code blocks, session messages, error details, toasts and session diffs; right-click still works over a text selection.+- **Manual-only Quota Mode Covers DeepSeek and Kimi** (#10022): With "query quota automatically" off, the DeepSeek Harness balance is no longer fetched on mount or window focus (the row's refresh and "Refresh all" ask DeepSeek once, and login state still updates from local files), and Kimi account nicknames are not looked up except when signing in a new account. Turning automatic queries back on refetches both.+- **Antigravity Quota Queries** (#10101, #10232, #10233, #10248, #10259, refs #10066): Background `agy` runs set `AGY_CLI_DISABLE_AUTO_UPDATE=true`. Before running `agy --print /usage`, the OS keychain is checked, and a missing or unusable login reports a sign-in error in the app instead of letting agy open a browser (skipped when `SSH_CONNECTION` / `SSH_CLIENT` / `SSH_TTY` / `AGY_CLI_FORCE_FILE_TOKEN_STORAGE` is set, where agy reads file-backed credentials). Timeouts join the 20-second failure cache so a second request does not relaunch agy; a manual ↻ or "Refresh all" bypasses that cache. Launch I/O errors keep a retry entry, `not_found` is hidden while the Enterprise Gateway is in use, concurrent window-focus checks are merged, and switching providers refreshes quota in the background instead of waiting for it.+- **Antigravity Card Quota Column** (#10169): The card summary is pinned to each group's 5-hour window, the column widens with comfortable density instead of truncating, the refresh icon and chevron are aligned, and the Claude group is no longer labeled "Claude/GPT".+- **Claude Code Tool Search Toggle** (#10225, refs #9442): The switch is renamed "Explicitly enable Tool Search", and its help says that unchecking restores Claude Code's default and that `ENABLE_TOOL_SEARCH: "false"` in `env` turns it off.+- **Scrollbar Thumb** (84463b35d, refs #10292): The thumb grows from 4px to 6px on hover and while dragging, without changing the 8px gutter.++### Fixed++- **Local Route 502 after the System Proxy Quits** (#10229): reqwest snapshots the system proxy when the client is built, so after Clash / Shadowrocket quit or changed ports every request tunneled to a dead port until restart. When a connect is refused, no explicit proxy is set and the target is not loopback, the request is retried once through a freshly built client, which replaces the shared client only if the retry succeeds; timeouts, DNS and TLS errors are not retried and the retry stays within the original deadline.+- **Claude Code Saved Zero Usage for OpenAI-format Replies** (#10284, fixes #10283): Converted Chat Completions and Responses streams sent `content_block_stop` long before the final `message_delta`, and Claude Code saved those blocks with the zero usage from `message_start`. Each stop now goes out with the next frame, so the last one lands right before `message_delta`.+- **Codex Reasoning-only Turns** (#8528): On Chat Completions and Anthropic routes, a turn with only reasoning that hit the length limit ends as `response.incomplete`, a reasoning-only `stop` or a stream cut mid-reasoning ends as `response.failed`, instead of completing as an empty reply; usage is recorded for those events and kept on conversion errors.+- **Responses Gateways Rejecting `temperature` / `top_p`** (#10171, fixes #6394): On Claude to OpenAI Responses routes, a 400 / 422 unsupported-parameter error naming `temperature` or `top_p` is retried once without that field. Value errors and other parameters are unchanged.+- **Codex Hosted Web Search** (#10175, fixes #10173; f1e7762dc, refs #10230): Aggregation honors a member provider's `web_search = "disabled"`, and Gemini models on native Responses providers (always a relay, since Google has no `/responses`) get `web_search = "disabled"` in the catalog and drop the hosted tool in aggregation, as for MiMo, MiniMax and GLM.+- **Copilot Reasoning in Codex** (4fb540858, refs #10242): `reasoning_text` from GitHub Copilot's Chat Completions is read as reasoning, so Codex shows the thinking of models such as gemini-4-neon and a reasoning-only turn is not empty.+- **ProxyChat `baseInstructions`** (#10166, fixes #5969): Explicit `baseInstructions` also override `model_messages.instructions_template`, including relay aliases that match a bundled official entry, so third-party models stop introducing themselves as GPT-5.+- **JSON Responses Bodies with SSE Headers** (#10286): Buffered non-streaming Responses bodies are parsed as JSON before falling back to SSE aggregation.+- **Failover after External Database Edits** (#10185, fixes #10184): The failover queue and current route are reread in one snapshot after another SQLite connection commits, so removed providers are not used and an edited Codex official account keeps its route.+- **Antigravity Usage Missing from Transcripts** (#10144, fixes #10143): Completed steps that have no transcript record are recovered from the conversation database with exact counters and the same request ids, so later exports deduplicate; builds without the needed tables are treated as having nothing to recover.+- **Antigravity Account Switch Left the Old Card Active** (#10312): Switching accounts in the Auth Center while a direct official card bound to another account is current switches to the target account's official card, and the provider list and tray follow.+- **Antigravity Avatars** (#9984, fixes #9983): The leftover Google `picture` field is dropped and Antigravity accounts show an initial, and account avatars elsewhere reset when their URL changes and retry twice after a load error.+- **Antigravity Shell Fallback** (#10138): The login / interactive shell lookup for `agy` is cached (misses for 60 seconds), so quota and model queries stop spawning an interactive shell each time; "Reopen terminal" and "Add account" still probe again.+- **Stale State across App Switches** (#9997): Provider cards, the usage script dialog and Add / Edit dialog state are scoped per app and per form session, so a pending save cannot close or overwrite a newer dialog. Auth Center logout, removal and set-default, and Claude official card switches, refresh login status and reset the affected quota caches in the background.+- **Linux Window Size across Restores** (#10241, fixes #7480): The main window's content size and maximized state are saved and restored through GTK, and the WebView is relaid out with `queue_resize` instead of a ±1px resize, so restoring from the tray no longer grows the window.+- **Windows Store Codex CLI** (#10234, fixes #9890): The MSIX Codex desktop's bundled `codex.exe` (found through the package registry) and `codex.cmd` / `.bat` on PATH are candidates for the bundled model catalog, and the newest version wins when several are installed.+- **Bash Job Control after a CLI Exits** (#10145): Bash launch commands end with `; exit $?`, so in terminals such as Tilix on WSL2 the shell opened afterwards no longer reports "initialize_job_control: no job control in background".+- **Directories Revealed on Windows and Linux** (fb2a55a39, refs #10290): Revealing a directory from the session reader or the backup location opens the directory itself instead of selecting it in its parent; macOS still selects it in Finder.+- **DeepSeek Harness Files with a UTF-8 BOM** (#10295): A leading BOM (from PowerShell 5.1 or old Notepad) is stripped when reading `cordis.patch.yml` and `.credentials.yaml`, so the provider list and writes no longer fail.+- **MCP Batch Import Retry** (#10201, fixes #10198): After a partial failure, servers that were written are dropped from the pending list, so retrying with other targets no longer rewrites them with `apps.pi = false`.+- **Session Export Image Labels** (#10203, fixes #10202): Copying a turn, copying the session and exporting Markdown include the image labels of final replies.+- **Linux OpenSSL 3 Dependency** (#10301, refs #9741): The RPM declares `libssl.so.3` / `libcrypto.so.3` and the DEB `libssl3t64 | libssl3`, so distributions defaulting to OpenSSL 4 install OpenSSL 3 alongside.++### Internal++- rustls 0.23.46, rustls-webpki 0.103.16, webpki-roots 1.0.11 (eMudhra CA distrust) and quinn 0.11.12 (RUSTSEC DoS fixes); CI Node.js 22.23.4 (#8772).+## [4.0.47] - 2026-12-01Cloud sync can encrypt what it uploads: with an encryption key set, WebDAV and S3 snapshots are encrypted on the device before upload, and a device with a different key or no key cannot overwrite them by accident. The usage heatmap opens a day's totals and hourly trend in place, and Shift+click selects a date range. The Auth Center no longer collects logins the user has not added: Antigravity and WorkBuddy show an uncollected login with a button to collect it, and a displaced login is kept aside instead of being added. Antigravity third-party models on the Gemini native protocol can read images, and Codex usage from CodeBuddy IDE plugins is imported. Fixes cover the Windows Antigravity login waiting until timeout after the terminal closed, Antigravity quota missing when only the desktop app is installed, Codex managed official logins failing after Codex CLI 0.172 refreshed them, `codex login --with-api-key` logins deleted on the first third-party switch, Codex session headers dropped in aggregation, Claude Code terminals failing on Windows for providers with Chinese ids, Claude Code updates on the stable channel, OpenClaw models added while editing, OpenCode OMO state after failed writes and the macOS context menu staying in English.diff --git a/package.json b/package.jsonindex 5c32f5f0b..c4e6a5b95 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "cc-switch",- "version": "4.0.47",+ "version": "4.0.48","description": "All-in-One Assistant for Claude Code, Codex & Gemini CLI","type": "module","scripts": {diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex c3c13d9a6..3dd5d5659 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -768,7 +768,7 @@ dependencies = [[[package]]name = "cc-switch"-version = "4.0.47"+version = "4.0.48"dependencies = ["aho-corasick","anyhow",diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex 3dfcd7082..254396736 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cc-switch"-version = "4.0.47"+version = "4.0.48"description = "All-in-One Assistant for Claude Code, Codex & Gemini CLI"authors = ["Jason Young"]license = "MIT"diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex e979fbbb9..a2146b772 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -1,7 +1,7 @@{"$schema": "https://schema.tauri.app/config/2","productName": "CC Switch",- "version": "4.0.47",+ "version": "4.0.48","identifier": "com.ccswitch.desktop","build": {"frontendDist": "../dist",