CC Switch v3.12.2

Common Config Protection During Proxy Takeover, Snippet Lifecycle Stability, Section-Aware Codex TOML Editing

中文版 → | 日本語版 →


Overview

CC Switch v3.12.2 is a reliability-focused patch release that addresses Common Config loss during proxy takeover and improves Codex TOML editing accuracy. Proxy takeover hot-switches and provider sync now update the restore backup instead of overwriting live config files; the startup sequence has been reordered so snippets are extracted from clean live files before takeover state is restored; and Codex base_url editing has been refactored into a section-aware model that no longer appends to the end of the file.

Release Date: 2026-03-12

Update Scale: 5 commits | 22 files changed | +1,716 / -288 lines


Highlights


New Features

Empty State Guidance

Improved the first-run experience with helpful guidance when the provider list is empty.


Changes

Proxy Takeover Restore Flow

The proxy takeover hot-switch and provider sync logic has been reworked to protect Common Config throughout the takeover lifecycle.

Codex TOML Editing Engine

Codex config.toml update logic has been refactored onto shared section-aware TOML helpers.

Common Config Initialization Lifecycle

The startup sequence has been reordered for more robust snippet extraction and migration.


Bug Fixes

Common Config Loss

Codex Restore Snapshot Preservation

Cleared Snippet Resurrection

Codex base_url Misplacement


Download & Installation

Visit Releases to download the appropriate version.

System Requirements

SystemMinimum VersionArchitecture
WindowsWindows 10 or laterx64
macOSmacOS 10.15 (Catalina) or laterIntel (x64) / Apple Silicon (arm64)
LinuxSee table belowx64

Windows

FileDescription
CC-Switch-v3.12.2-Windows.msiRecommended - MSI installer with auto-update
CC-Switch-v3.12.2-Windows-Portable.zipPortable version, extract and run, no registry write

macOS

FileDescription
CC-Switch-v3.12.2-macOS.zipRecommended - Extract and drag to Applications, Universal Binary
CC-Switch-v3.12.2-macOS.tar.gzFor Homebrew installation and auto-update

Note: Since the author doesn't have an Apple Developer account, you may see an "unidentified developer" warning on first launch. Please close it, then go to "System Settings" -> "Privacy & Security" -> click "Open Anyway", and it will open normally afterwards.

Homebrew (macOS)

brew tap farion1231/ccswitch
brew install --cask cc-switch

Update:

brew upgrade --cask cc-switch

Linux

DistributionRecommended FormatInstallation Method
Ubuntu / Debian / Linux Mint / Pop!_OS.debsudo dpkg -i CC-Switch-*.deb or sudo apt install ./CC-Switch-*.deb
Fedora / RHEL / CentOS / Rocky Linux.rpmsudo rpm -i CC-Switch-*.rpm or sudo dnf install ./CC-Switch-*.rpm
openSUSE.rpmsudo zypper install ./CC-Switch-*.rpm
Arch Linux / Manjaro.AppImageAdd execute permission and run directly, or use AUR
Other distributions / Unsure.AppImagechmod +x CC-Switch-*.AppImage && ./CC-Switch-*.AppImage