@wangxiaoerqqq/ccs 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.1] - 2026-06-22
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- CHANGELOG.md 补充 [2.0.0] 版本变更记录
|
|
13
|
+
- README.md 新增上游项目 Genzhen/ccs 致谢说明
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- 优化项目安装说明,更新仓库地址为 Gitee
|
|
18
|
+
- 完善 .gitignore 过滤规则
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- 移除误提交的 dist 编译产物,改由 npm publish 发布
|
|
23
|
+
|
|
24
|
+
## [2.0.0] - 2026-06-07
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- 新增美团 LongCat 提供商 (`ccs longcat`),支持 longcat-2-preview 模型
|
|
29
|
+
- 支持模型级 `env` 配置,可为单个模型覆盖或追加提供商级环境变量(如 `ANTHROPIC_DEFAULT_OPUS_MODEL`)
|
|
30
|
+
- DeepSeek 提供商新增 `ANTHROPIC_DEFAULT_*_MODEL`、`CLAUDE_CODE_SUBAGENT_MODEL` 等完整环境变量配置
|
|
31
|
+
- `ccs list` / `ccs models` 当模型代号与真实 API 模型名不同时,展示箭头映射
|
|
32
|
+
- `ccs current` 额外显示 Real model 行
|
|
33
|
+
- 新增 `test/migration.test.ts` 和 `test/merge.test.ts`,测试覆盖 5 文件 65 用例
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- **Breaking:** `providers.json` 格式升级 — `base_url` 改为 `env`(`Record<string, unknown>`),模型新增 `model` 字段存储真实 API 模型名
|
|
38
|
+
- `settings.json` 替换策略优化:provider.env → model.env 合并 → 强制写入 AUTH_TOKEN/MODEL → 完整替换 env 字段
|
|
39
|
+
- 7 家提供商模型全部更新为最新版本
|
|
40
|
+
- 仓库迁移至 Gitee,包名更新为 `@wangxiaoerqqq/ccs`
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- 修复不支持切换自定义模型命令的问题
|
|
45
|
+
|
|
46
|
+
### Security
|
|
47
|
+
|
|
48
|
+
- 旧版 `base_url` 格式自动迁移至新版 `env` 格式,`loadProviders()` 检测并自动转换
|
|
49
|
+
|
|
8
50
|
## [0.1.0] - 2024-03-25
|
|
9
51
|
|
|
10
52
|
### Added
|
package/README.md
CHANGED
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
- **跨平台**: 支持 macOS、Linux、Windows
|
|
13
13
|
|
|
14
14
|
## 安装
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
```bash
|
|
17
17
|
# npm
|
|
18
|
-
npm install -g ccs
|
|
18
|
+
npm install -g @wangxiaoerqqq/ccs
|
|
19
19
|
|
|
20
20
|
# 或使用 pnpm
|
|
21
|
-
pnpm add -g ccs
|
|
21
|
+
pnpm add -g @wangxiaoerqqq/ccs
|
|
22
22
|
|
|
23
23
|
# 或使用 yarn
|
|
24
|
-
yarn global add ccs
|
|
24
|
+
yarn global add @wangxiaoerqqq/ccs
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## 快速开始
|
|
@@ -284,4 +284,5 @@ MIT License
|
|
|
284
284
|
|
|
285
285
|
## 相关项目
|
|
286
286
|
|
|
287
|
+
- [Genzhen/ccs](https://github.com/Genzhen/ccs) - 本项目上游,Fork 后在此基础上进行了功能扩展与持续维护
|
|
287
288
|
- [Claude Code](https://github.com/anthropics/claude-code) - Anthropic 官方 CLI 工具
|