github SaladDay/cc-switch-cli v5.10.5
CC Switch CLI v5.10.5

3 hours ago

CC Switch CLI v5.10.5

v5.10.5 adds opt-in shared Codex sessions, per-model reasoning controls, local quota reset times, and GPT-6 Astra pricing. It also fixes model-catalog persistence, user-owned catalog paths, Windows session scanning, SQL imports, and Chat Completions compatibility.

Added

  • Codex / Shared Sessions: Add opt-in cc-switch start codex <provider> --shared-sessions on macOS/Linux. Providers keep separate credentials and configuration while sharing persistent native session history and session locks. Includes #440, addressing #436.
  • Codex / Per-Model Reasoning: Expose supported reasoning levels and a default for each model in both TUI model-catalog editors, with the existing Auto behavior and contextual help. Includes #442, addressing #441.
  • Providers / PatewayAI: Add the PatewayAI sponsor preset and its provider setup support.

Changed

  • Quota / Reset Times: Show quota reset timestamps in the local timezone, with UTC offsets and remaining time in CLI text; add compact reset countdowns to the TUI. Raw JSON timestamps and upstream quota calculations retain their existing semantics. Includes #456, fixing #445.
  • Pricing / GPT-6 Astra: Add standard prices per million tokens: $10 input, $50 output, $1 cached input, and $12.50 cache writes. Missing entries are added without replacing user-customized prices or restoring user-deleted entries. Includes #460, fixing #459.

Fixed

  • Codex / Model Mapping Persistence: Preserve stored model catalogs and per-model reasoning settings during provider switches and temporary-launch capture. Fixes #447.
  • Codex / User-Owned Catalogs: Preserve custom model_catalog_json paths when generating a cc-switch catalog. Includes #454.
  • Codex / OpenCode Go Reasoning: Recognize the OpenCode Zen gateway before applying model-vendor reasoning defaults, and constrain effort to the model's catalog settings. Fixes #443.
  • Proxy / Chat Completions Compatibility: Convert null or missing message content to an empty string when translating Responses requests to Chat Completions, preserving tool payloads and multimodal content. Fixes the Azure compatibility issue in #448.
  • Windows / Session Scanning: Open existing session-cache files with the access required for synchronization, avoiding Access denied (os error 5) without truncating their contents. Includes #455, fixing #450.
  • Configuration / SQL Import: Acquire the sync lock before synchronous import and live-config projection to avoid a nested-executor panic when importing or restoring SQL backups. Fixes #453.
  • TUI / Claude Quick Config: Correct the displayed item total in the quick-configuration menu. Fixes #435.

Upgrade notes

  • The database schema remains at v18; upgrading from v5.10.4 requires no schema migration.
  • Shared Codex sessions are opt-in and limited to macOS/Linux. Keep the persistent .cc-switch-launches/ directories, allow only one shared launch per provider, and close a session before continuing it through another provider. See the shared-session usage notes for argument restrictions and cross-provider limitations.
  • GPT-6 Astra uses the existing standard-rate calculator. Long-context and service-tier pricing are outside this release's pricing change.

Update

cc-switch update

Or use the macOS/Linux installer:

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

Thank you

Thank you to everyone who opened an issue or pull request, shared diagnostics, reviewed a change, or joined a discussion. This list covers issues and pull requests active since v5.10.4, including participants in their earlier discussions.

Contributor Issues and pull requests
@6UOOON9 #447
@ChanthMiao #409
@Curious-r #441, #443
@czfhhh #454
@Devin-Pi #358, #446
@dividduang #358
@GMOogway #433
@HappyLiang12 #448
@jinjiwu #436, #445
@JounQin #457
@kelvkhiu #444
@moonjoke001 #358
@netcatty #450
@neverdie0710 #451
@odup #453
@paopjian #439
@RainyPixel #449
@SaladDay #440, #442, #455, #456, #460
@suntory1 #358
@SyaJask #358
@tangjunyi1 #458
@TheBoYang #432
@tianzhuwei #358
@Tonystarkw12 #434
@u1544096979 #437, #438
@wangsiqidahaoren #459
@wbbo #435
@xiaoshidebug #452

We also thank @farion1231 and upstream CC-Switch contributors, including @zayokami for the OpenCode Zen reasoning fix, and @misaka-myu for the user-owned catalog fix.

Some acknowledged reports and proposals remain open or are not included in this release; a thank-you does not imply that an issue is fixed or a pull request is merged.

See the full changelog and all changes since v5.10.4.

Don't miss a new cc-switch-cli release

NewReleases is sending notifications on new releases.