Skip to content

cc-switch-cli 5.10.5 - #311053

Merged
BrewTestBot merged 2 commits into
mainfrom
bump-cc-switch-cli-5.10.5
Sep 15, 2026
Merged

BrewTestBot merged 2 commits into
mainfrom
bump-cc-switch-cli-5.10.5

Conversation

@BrewTestBot

Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
# 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.

View the full release notes at https://github.com/SaladDay/cc-switch-cli/releases/tag/v5.10.5.


@github-actions github-actions Bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Sep 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

馃 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions Bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Sep 15, 2026
@BrewTestBot
BrewTestBot added this pull request to the merge queue Sep 15, 2026
Merged via the queue into main with commit 6b2250d Sep 15, 2026
22 checks passed
@BrewTestBot
BrewTestBot deleted the bump-cc-switch-cli-5.10.5 branch September 15, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants