CC Switch v4.0.8

The fourth fix release for 4.0 stable

Users who installed only the Codex desktop app, without a separate Codex CLI, can now use Codex Aggregation mode too. When the official model list can't be read, the prompt now says why, and it goes away on its own once the problem is fixed. When adding and editing providers, "Fetch Models" now sends the request headers you configured, so gateways that require extra headers no longer reject it. "Settings → Data" adds an "Open log" button. Dark mode text is a bit dimmer and no longer as glaring. For everything new in 4.0, see the v4.0 release notes.


New

"Settings → Data → Application Diagnostic Logs" adds an "Open log" button. Clicking it selects cc-switch.log in your system's file manager; if the log file has not been created yet, it opens the folder where the log lives. When reporting an issue, you can attach it directly instead of digging through the hidden config directory.

Fixes

Other:

Upgrade Notes

The database schema is unchanged, still at 20.


Thanks

Thanks to @SailingLoong (sending request headers when OpenCode fetches models) and @ggbdpq (sending "Header overrides" when Claude Code and Codex fetch models) for their contributions.

Thanks to @xovow, @YX-bobi and @cydebbb for reporting issues and making suggestions.

For the full technical details, see the CHANGELOG.