You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,50 @@ All notable changes to CC Switch CLI will be documented in this file.
7
7
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
10
+
## [5.1.0] - 2026-03-20
11
+
12
+
### Added
13
+
14
+
-**OpenClaw**: Add first-class OpenClaw support with upstream-aligned provider flows, additive `~/.openclaw/openclaw.json` sync, default model management, prompt support, and dedicated TUI entries for `Env`, `Tools`, `Agents Defaults`, and config health warnings.
15
+
16
+
### Changed
17
+
18
+
-**Provider / Config**: Align OpenClaw provider boundaries, config import/update/remove behavior, and common snippet live-sync handling more closely with upstream behavior.
19
+
-**Proxy**: Align Claude backend behavior with upstream and split oversized proxy modules for easier maintenance without changing the release surface.
20
+
21
+
### Fixed
22
+
23
+
-**OpenClaw / TUI**: Close remaining live-config parity gaps, improve the ratatui flow, and restore provider add/save after JSON edits.
24
+
-**Terminal Compatibility**: Improve ansi256 and `TERM=*-256color` fallback behavior, including SSH xterm sessions.
25
+
-**WebDAV**: Reject false-positive sync success results instead of reporting a misleading successful sync.
26
+
27
+
### Docs & Chore
28
+
29
+
-**Docs / Repo Hygiene**: Remove branch-only OpenClaw planning notes from the PR payload and ignore the superpowers docs workspace.
30
+
-**Internal Refactor**: Split oversized provider, i18n, and Claude proxy modules without intended behavior changes.
31
+
32
+
### Commits (since v5.0.1)
33
+
34
+
- 1aca886 feat(openclaw): add upstream-aligned provider support
35
+
- dccb70d docs: remove openclaw plan notes from pr
36
+
- 5f5c0c9 refactor: split oversized modules without behavior changes
37
+
- b6d6564 fix(tui): honor TERM 256color fallbacks
38
+
- b42e569 test(tui): isolate test terminals from real tty
39
+
- da9298e fix(tui): fallback SSH xterm sessions to ansi256
- cdb6c5a fix(openclaw): align live-config parity and TUI behavior
49
+
50
+
### Thanks
51
+
52
+
- Thanks `@saladday` for landing OpenClaw support, tightening provider/live-config parity, and cleaning up the upstream alignment work across the proxy and TUI layers.
**Command-Line Management Tool for Claude Code, Codex, Gemini & OpenCode CLI**
10
+
**Command-Line Management Tool for Claude Code, Codex, Gemini, OpenCode & OpenClaw**
11
11
12
-
Unified management for Claude Code, Codex, Gemini, and OpenCode CLI provider configurations, MCP servers, skills, prompts, local proxy routes, and environment checks.
12
+
Unified management for Claude Code, Codex, Gemini, OpenCode, and OpenClaw provider configurations, plus app-specific support for MCP servers, skills, prompts, local proxy routes, and environment checks.
13
13
14
14
[English](README.md) | [中文](README_ZH.md)
15
15
@@ -28,11 +28,16 @@ This project is a **CLI fork** of [CC-Switch](https://github.com/farion1231/cc-s
28
28
29
29
---
30
30
31
-
## 🆕 What's New in 5.0.1
31
+
## 🆕 What's New in 5.1.0
32
32
33
-
- Self-update now follows GitHub release metadata more closely and has a safer signed upgrade path.
34
-
- The v5 TUI palette now stays readable across Apple Terminal and ansi256 compatibility modes.
35
-
- Claude and Codex now warn before a first switch would overwrite an existing live config, and show a one-time common-config tip after the first real provider change.
33
+
<divalign="center">
34
+
<h3><strong>🦞 OpenClaw (小龙虾) is now supported in CC-Switch CLI</strong></h3>
35
+
</div>
36
+
37
+
- OpenClaw now has first-class provider support with upstream-aligned `openclaw.json` handling, default model flows, prompt support, and dedicated TUI entries for `Env`, `Tools`, `Agents Defaults`, and config health warnings.
38
+
- Provider and common-snippet syncing now stay closer to upstream behavior, especially for additive live-config apps.
39
+
- WebDAV now rejects false-positive sync success results instead of reporting a misleading success.
40
+
- TUI compatibility is better in SSH, ansi256, and `TERM=*-256color` sessions, and provider add/save works again after JSON edits.
36
41
37
42
---
38
43
@@ -107,8 +112,9 @@ cc-switch proxy show # Inspect proxy routes and status
107
112
cc-switch --app claude provider list # Manage Claude providers
Manage API configurations for **Claude Code**, **Codex**, **Gemini**, and **OpenCode**.
231
+
Manage API configurations for **Claude Code**, **Codex**, **Gemini**, **OpenCode**, and **OpenClaw**.
226
232
227
-
**Features:** One-click switching, multi-endpoint support, API key management, speed testing, stream health checks, remote model discovery.
233
+
**Features:** One-click switching, multi-endpoint support, API key management, remote model discovery, and per-app diagnostics such as speed testing or stream health checks where supported.
228
234
229
235
```bash
230
236
cc-switch provider list # List all providers
@@ -261,7 +267,7 @@ cc-switch mcp import --app claude # Import from live config
261
267
262
268
Manage system prompt presets for AI coding assistants.
263
269
264
-
**Cross-app support:** Claude (`CLAUDE.md`), Codex (`AGENTS.md`), Gemini (`GEMINI.md`), OpenCode (`AGENTS.md`).
@@ -396,7 +402,7 @@ cc-switch update --version vX.Y.Z # Update to a specific version
396
402
397
403
-**SQLite-backed state**: Core data lives in `~/.cc-switch/cc-switch.db`; legacy `~/.cc-switch/config.json` is kept only for older import and migration paths
398
404
-**Skills SSOT**: Skill source files live in `~/.cc-switch/skills/`, while install state and app enablement stay in the database
399
-
-**Safe Live Sync (Default)**: Skip writing live files for apps that haven't been initialized yet (prevents creating `~/.claude`, `~/.codex`, `~/.gemini`, or `~/.config/opencode` unexpectedly)
405
+
-**Safe Live Sync (Default)**: Skip writing live files for apps that haven't been initialized yet (prevents creating `~/.claude`, `~/.codex`, `~/.gemini`, `~/.config/opencode`, or `~/.openclaw` unexpectedly)
@@ -425,7 +432,7 @@ cc-switch update --version vX.Y.Z # Update to a specific version
425
432
426
433
<br>
427
434
428
-
First, make sure the target CLI has been initialized at least once (i.e. its config directory exists). CC-Switch may skip live sync for uninitialized apps; you will see a warning. Run the target CLI once (e.g. `claude --help`, `codex --help`, `gemini --help`, `opencode --help`), then switch again.
435
+
First, make sure the target CLI has been initialized at least once (i.e. its config directory exists). CC-Switch may skip live sync for uninitialized apps; you will see a warning. Run the target CLI once (e.g. `claude --help`, `codex --help`, `gemini --help`, `opencode --help`, `openclaw --help`), then switch again.
429
436
430
437
This is usually caused by **environment variable conflicts**. If you have API keys set in system environment variables (like `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`), they will override CC-Switch's configuration.
431
438
@@ -459,11 +466,12 @@ This is usually caused by **environment variable conflicts**. If you have API ke
459
466
460
467
<br>
461
468
462
-
CC-Switch currently supports four AI coding assistants:
469
+
CC-Switch currently supports five AI coding assistants:
463
470
- **Claude Code** (`--app claude`, default)
464
471
- **Codex** (`--app codex`)
465
472
- **Gemini** (`--app gemini`)
466
-
- **OpenCode** (`--app open-code`)
473
+
- **OpenCode** (`--app opencode`)
474
+
- **OpenClaw** (`--app openclaw`)
467
475
468
476
Use the global `--app` flag to specify which app to manage:
0 commit comments