New
ccse rules— inject/remove a behavioral snippet (built-in caveman + rtk) into every agent's global instructions file, idempotent via marked block. Same fleet-wide lever--modelgives for models, but for behavior.- 8 new adapters (25 → 32):
openakitajcodedshopenclaudeopenhandscommandcode+ model-slot extensions. See README table. --modelnow covers subagents: opencodeagent.{build,explore,general,plan}, openclaw subagent, snow basicModel, claudeCLAUDE_CODE_SUBAGENT_MODEL— each keeping its route prefix. Claude tiers stay independently settable.- codex: literal
api_keyproviders supported alongsideenv_key; switching to a non-OpenAI gateway auto-releasesrequires_openai_auth(which would otherwise brick codex with OAuth).
Fixed
- Windows: an agent config that exists but can't be parsed (UTF-8 BOM written by Windows tools, corrupt TOML) no longer aborts the whole switch — the adapter is skipped with a one-line warning (
ccse: skip <id>: unreadable config (...)), and BOM'd TOML now parses viautf-8-sig. - jcode: stale
default_providerfalls back to the first providers block; model writes mirror into the provider block +[[...models]]registry.
Install
git clone https://github.com/Tonystarkw12/cc-switch-enhanced
cd cc-switch-enhanced && uv tool install . --force # or pipx install .
Windows users on 0.2.4 hit by the EmptyKeyError crash: upgrade and re-run — the offending agent will be skipped with a warning instead of a traceback.