Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.11.3] - 2026-10-22

### Fixed

- **Database / Compatibility**: Support database schemas 21 and 22, fixing startup failures when opening a database created by a newer CC Switch desktop version. Align the migration steps and MCP/Skills fields with the shared schema, preserving existing data and application enablement flags through upgrades, edits, and WebDAV sync. Includes [#528](https://github.com/SaladDay/cc-switch-cli/pull/528), fixing [#526](https://github.com/SaladDay/cc-switch-cli/issues/526).

### Upgrade notes

- If startup reports database version 21 or 22 as unsupported, update to v5.11.3. The existing pre-migration backup runs before upgrading older databases; databases newer than schema 22 are still rejected.
- This release adds database compatibility, not CLI management for Antigravity or Kimi Code. After migration to schema 22, older CLI versions cannot open the upgraded database.
- Run `cc-switch update`, or use `brew upgrade cc-switch-cli` for Homebrew installations once the formula is updated.

### Thanks

Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.2, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release.

| Contributor | Issues and pull requests |
| --- | --- |
| [@AtaraxiaEpiphany](https://github.com/AtaraxiaEpiphany) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@claude](https://github.com/claude) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@hao-lin-lwh](https://github.com/hao-lin-lwh) | [#525](https://github.com/SaladDay/cc-switch-cli/issues/525) |
| [@kelvkhiu](https://github.com/kelvkhiu) | [#526](https://github.com/SaladDay/cc-switch-cli/issues/526) |
| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521) |
| [@SaladDay](https://github.com/SaladDay) | [#528](https://github.com/SaladDay/cc-switch-cli/pull/528) |
| [@SanAntonio021](https://github.com/SanAntonio021) | [#523](https://github.com/SaladDay/cc-switch-cli/pull/523), [#524](https://github.com/SaladDay/cc-switch-cli/pull/524) |
| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) |
| [@Xiao-Maker-droid](https://github.com/Xiao-Maker-droid) | [#527](https://github.com/SaladDay/cc-switch-cli/pull/527) |

Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared migration implementations underpin this fix.

## [5.11.2] - 2026-10-16

### Added
Expand Down
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

**Manage Claude Code, Codex, Gemini, OpenCode, Hermes, OpenClaw, and Pi from one interactive TUI or scriptable CLI.**

[![Version](https://img.shields.io/badge/version-5.11.2-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Version](https://img.shields.io/badge/version-5.11.3-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Built with Rust](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
Expand Down Expand Up @@ -74,6 +74,18 @@ This project is a **CLI fork** of [CC-Switch](https://github.com/farion1231/cc-s
PackyCode provides special discounts for our software users: register via <a href="https://www.packyapi.com/register?aff=cc-switch-cli">this link</a> and use promo code <code>cc-switch-cli</code> when recharging to get <b>10% off</b>.
</td>
</tr>
<tr>
<td width="180">
<a href="https://www.ipwo.net/?ref=githubswitchcli">
<img src="assets/partners/logos/ipwo.png" alt="IPWO" width="150">
</a>
</td>
<td>
Thanks to <b>IPWO</b> for sponsoring this project! IPWO offers a free trial and access to over <b>90 million active residential IPs across 195+ countries and regions</b>. It supports rotating, static, and unlimited-bandwidth residential proxies, with HTTP(S) and SOCKS5 compatibility.<br/>
From AI tool development and cross-region network access to API debugging and data collection, IPWO gives developers flexible residential proxy options for applications in different regions.<br/>
Visit <a href="https://www.ipwo.net/?ref=githubswitchcli">IPWO</a> and use promo code <code>0200</code> for <b>10% off</b>.
</td>
</tr>
<tr>
<td width="180">
<a href="https://ddshub.short.gy/ccscli">
Expand Down Expand Up @@ -412,11 +424,14 @@ cc-switch config show # Display configuration
cc-switch config path # Show config file paths
cc-switch config validate # Validate config file

# Common snippet (shared settings across providers)
# Tries to refresh live config when applicable (`--apply` is kept only as a compatibility flag)
# Claude: open the TUI, edit a provider, then open its JSON editor
cc-switch --app claude
# Read a legacy common snippet to copy into the configuration editor if needed
cc-switch --app claude config common show
cc-switch --app claude config common set --snippet '{"env":{"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC":1},"includeCoAuthoredBy":false}'
cc-switch --app claude config common clear

# Codex / Gemini still support common snippets
cc-switch --app codex config common set --snippet 'model_reasoning_effort = "high"'
cc-switch --app codex config common clear

# Backup
cc-switch config backup # Create backup (auto-named)
Expand Down
14 changes: 13 additions & 1 deletion README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

**対話型 TUI またはスクリプトで利用できる CLI から、Claude Code、Codex、Gemini、OpenCode、Hermes、OpenClaw、Pi を一元管理できます。**

[![バージョン](https://img.shields.io/badge/version-5.11.2-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![バージョン](https://img.shields.io/badge/version-5.11.3-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![対応プラットフォーム](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Rust 製](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/)
[![ライセンス](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
Expand Down Expand Up @@ -77,6 +77,18 @@
CC-Switch CLI ユーザー向けの割引として、<a href="https://www.packyapi.com/register?aff=cc-switch-cli">こちらのリンク</a>から登録し、チャージ時にクーポンコード <code>cc-switch-cli</code> を入力すると、<b>10% オフ</b>になります。
</td>
</tr>
<tr>
<td width="180">
<a href="https://www.ipwo.net/?ref=githubswitchcli">
<img src="assets/partners/logos/ipwo.png" alt="IPWO" width="150">
</a>
</td>
<td>
本プロジェクトをご支援いただいている <b>IPWO</b> に感謝します!IPWO は無料でお試しいただける住宅用プロキシサービスで、<b>195 以上の国と地域にわたる 9,000 万以上のアクティブな住宅用 IP</b> を提供しています。ローテーション型、固定型、通信量無制限の住宅用プロキシに対応し、HTTP(S) と SOCKS5 を利用できます。<br/>
AI ツールの開発、地域をまたぐネットワークアクセス、API のデバッグ、データ収集など、さまざまな地域でのアプリケーション開発に向けて、柔軟な住宅用プロキシの選択肢を提供します。<br/>
<a href="https://www.ipwo.net/?ref=githubswitchcli">こちらのリンク</a>から IPWO にアクセスし、クーポンコード <code>0200</code> を入力すると、<b>10% オフ</b>になります。
</td>
</tr>
<tr>
<td width="180">
<a href="https://ddshub.short.gy/ccscli">
Expand Down
25 changes: 20 additions & 5 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

**通过交互式 TUI 或脚本化 CLI,统一管理 Claude Code、Codex、Gemini、OpenCode、Hermes、OpenClaw 和 Pi。**

[![Version](https://img.shields.io/badge/version-5.11.2-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Version](https://img.shields.io/badge/version-5.11.3-blue.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases)
[![Built with Rust](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
Expand Down Expand Up @@ -72,6 +72,18 @@
注册,并在充值时填写优惠码 <code>cc-switch-cli</code>,即可享受 <b>9 折优惠</b>。
</td>
</tr>
<tr>
<td width="180">
<a href="https://www.ipwo.net/?ref=githubswitchcli">
<img src="assets/partners/logos/ipwo.png" alt="IPWO" width="150">
</a>
</td>
<td>
感谢 <b>IPWO</b> 赞助本项目!IPWO 可以免费测试,提供覆盖 <b>195+ 个国家和地区的 9000 万+ 活跃住宅 IP 资源</b>,支持动态住宅代理、静态住宅代理及不限量住宅代理,并兼容 HTTP(S) 和 SOCKS5 协议。<br/>
无论是 AI 工具开发、跨区域网络访问,还是 API 调试与数据采集,IPWO 都能为开发者提供灵活的住宅代理选择,帮助拓展不同地区的网络应用场景。<br/>
通过<a href="https://www.ipwo.net/?ref=githubswitchcli">此链接</a>访问 IPWO,使用优惠码 <code>0200</code>,即可<b>减免 10%</b>。
</td>
</tr>
<tr>
<td width="180">
<a href="https://ddshub.short.gy/ccscli">
Expand Down Expand Up @@ -413,11 +425,14 @@ cc-switch config show # 显示配置
cc-switch config path # 显示配置文件路径
cc-switch config validate # 验证配置文件

# 通用配置片段(跨所有供应商共享设置)
# 会在适用时尝试刷新 live config(`--apply` 仅保留为兼容参数)
# Claude:进入 TUI,编辑供应商,再打开 JSON 编辑器修改完整配置
cc-switch --app claude
# 读取旧版通用片段,按需复制到配置编辑器
cc-switch --app claude config common show
cc-switch --app claude config common set --snippet '{"env":{"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC":1},"includeCoAuthoredBy":false}'
cc-switch --app claude config common clear

# Codex / Gemini 仍支持通用片段
cc-switch --app codex config common set --snippet 'model_reasoning_effort = "high"'
cc-switch --app codex config common clear

# 备份
cc-switch config backup # 创建备份(自动命名)
Expand Down
Binary file added assets/partners/logos/ipwo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.11.3] - 2026-10-22

### Fixed

- **Database / Compatibility**: Support database schemas 21 and 22, fixing startup failures when opening a database created by a newer CC Switch desktop version. Align the migration steps and MCP/Skills fields with the shared schema, preserving existing data and application enablement flags through upgrades, edits, and WebDAV sync. Includes [#528](https://github.com/SaladDay/cc-switch-cli/pull/528), fixing [#526](https://github.com/SaladDay/cc-switch-cli/issues/526).

### Upgrade notes

- If startup reports database version 21 or 22 as unsupported, update to v5.11.3. The existing pre-migration backup runs before upgrading older databases; databases newer than schema 22 are still rejected.
- This release adds database compatibility, not CLI management for Antigravity or Kimi Code. After migration to schema 22, older CLI versions cannot open the upgraded database.
- Run `cc-switch update`, or use `brew upgrade cc-switch-cli` for Homebrew installations once the formula is updated.

### Thanks

Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.2, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release.

| Contributor | Issues and pull requests |
| --- | --- |
| [@AtaraxiaEpiphany](https://github.com/AtaraxiaEpiphany) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@claude](https://github.com/claude) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@hao-lin-lwh](https://github.com/hao-lin-lwh) | [#525](https://github.com/SaladDay/cc-switch-cli/issues/525) |
| [@kelvkhiu](https://github.com/kelvkhiu) | [#526](https://github.com/SaladDay/cc-switch-cli/issues/526) |
| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521) |
| [@SaladDay](https://github.com/SaladDay) | [#528](https://github.com/SaladDay/cc-switch-cli/pull/528) |
| [@SanAntonio021](https://github.com/SanAntonio021) | [#523](https://github.com/SaladDay/cc-switch-cli/pull/523), [#524](https://github.com/SaladDay/cc-switch-cli/pull/524) |
| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) |
| [@Xiao-Maker-droid](https://github.com/Xiao-Maker-droid) | [#527](https://github.com/SaladDay/cc-switch-cli/pull/527) |

Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared migration implementations underpin this fix.

## [5.11.2] - 2026-10-16

### Added
Expand Down
41 changes: 41 additions & 0 deletions docs/releases/v5.11.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# CC Switch CLI v5.11.3

This patch release restores compatibility with database schemas 21 and 22 for local startup and WebDAV sync.

## Fixed

- **Database / Compatibility**: Support database schemas 21 and 22, fixing startup failures when opening a database created by a newer CC Switch desktop version. Align the migration steps and MCP/Skills fields with the shared schema, preserving existing data and application enablement flags through upgrades, edits, and WebDAV sync. Includes [#528](https://github.com/SaladDay/cc-switch-cli/pull/528), fixing [#526](https://github.com/SaladDay/cc-switch-cli/issues/526).

## Upgrade notes

- If startup reports database version 21 or 22 as unsupported, update to v5.11.3. The existing pre-migration backup runs before upgrading older databases; databases newer than schema 22 are still rejected.
- This release adds database compatibility, not CLI management for Antigravity or Kimi Code. After migration to schema 22, older CLI versions cannot open the upgraded database.
- Run `cc-switch update`, or use `brew upgrade cc-switch-cli` for Homebrew installations once the formula is updated.

## Thanks

Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.2, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release.

| Contributor | Issues and pull requests |
| --- | --- |
| [@AtaraxiaEpiphany](https://github.com/AtaraxiaEpiphany) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@claude](https://github.com/claude) | [#517](https://github.com/SaladDay/cc-switch-cli/pull/517), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521), [#522](https://github.com/SaladDay/cc-switch-cli/pull/522) |
| [@hao-lin-lwh](https://github.com/hao-lin-lwh) | [#525](https://github.com/SaladDay/cc-switch-cli/issues/525) |
| [@kelvkhiu](https://github.com/kelvkhiu) | [#526](https://github.com/SaladDay/cc-switch-cli/issues/526) |
| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#521](https://github.com/SaladDay/cc-switch-cli/pull/521) |
| [@SaladDay](https://github.com/SaladDay) | [#528](https://github.com/SaladDay/cc-switch-cli/pull/528) |
| [@SanAntonio021](https://github.com/SanAntonio021) | [#523](https://github.com/SaladDay/cc-switch-cli/pull/523), [#524](https://github.com/SaladDay/cc-switch-cli/pull/524) |
| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) |
| [@Xiao-Maker-droid](https://github.com/Xiao-Maker-droid) | [#527](https://github.com/SaladDay/cc-switch-cli/pull/527) |

Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared migration implementations underpin this fix.

## Install or update

Run `cc-switch update`, or use `brew upgrade cc-switch-cli` for Homebrew installations once the formula is updated. Platform packages and the installer are available below:

```bash
curl -fsSL https://github.com/SaladDay/cc-switch-cli/releases/latest/download/install.sh | bash
```

[Full comparison](https://github.com/SaladDay/cc-switch-cli/compare/v5.11.2...v5.11.3)
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cc-switch"
version = "5.11.2"
version = "5.11.3"
description = "All-in-One Assistant for Claude Code, Codex, Gemini, OpenCode & OpenClaw"
authors = ["Jason Young", "saladday"]
license = "MIT"
Expand Down
Loading
Loading