@claudecodelaunch/ccl 1.2.1 → 1.2.3
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/README.md +34 -3
- package/bin/ccl-darwin-amd64 +0 -0
- package/bin/ccl-darwin-arm64 +0 -0
- package/bin/ccl-linux-amd64 +0 -0
- package/bin/ccl-linux-arm64 +0 -0
- package/bin/ccl-win32-arm64.exe +0 -0
- package/bin/ccl-win32-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
- 自动检查本地环境依赖(Node.js, Claude CLI)。
|
|
27
27
|
- 如果系统未安装 Claude CLI,`ccl` 将触发**全自动静默安装**。
|
|
28
28
|
- 提供连接探针,对各 Provider 的 Endpoint 连通性、API 鉴权密钥进行安全测试。
|
|
29
|
+
- **模型可用性检测**:并发批量测试所有配置的模型(50 并发 / 10s 超时),自动将可用模型排在配置文件前列。
|
|
30
|
+
- **实时进度条**:模型测试时显示 `[████████░░░░░░] 45/100 ✓38 ✗7` 进度条。
|
|
29
31
|
|
|
30
32
|
5. **多通道配置与灵活切换**
|
|
31
33
|
- 支持添加、切换、列出、复制、重命名、删除以及管理多个独立网关。
|
|
@@ -168,9 +170,37 @@ ccl lang en # English
|
|
|
168
170
|
ccl doctor
|
|
169
171
|
```
|
|
170
172
|
|
|
171
|
-
检查本地依赖、Endpoint 连通性、API
|
|
173
|
+
检查本地依赖、Endpoint 连通性、API 鉴权。**并发测试所有配置模型**,自动将可用模型排在配置前列,显示实时进度条。如果 Claude CLI 未安装,自动触发一键安装。
|
|
172
174
|
|
|
173
|
-
### `ccl
|
|
175
|
+
### `ccl models` — 查看可用模型
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
# 查看已配置模型的可用性
|
|
179
|
+
ccl models
|
|
180
|
+
|
|
181
|
+
# 查看 Provider 全部模型
|
|
182
|
+
ccl models --all
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
并发测试每个模型,显示 `✓`(可用)或 `✗ (unavailable)`(不可用),带实时进度条。
|
|
186
|
+
|
|
187
|
+
### `ccl map` — 快速设置 Slot 模型映射
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
# 交互式 TUI — 直接进入 Slot 映射页面
|
|
191
|
+
ccl map
|
|
192
|
+
|
|
193
|
+
# 自动填充 — 自动检测可用模型并填入前 4 个槽位
|
|
194
|
+
ccl map auto
|
|
195
|
+
ccl map auto my-provider
|
|
196
|
+
|
|
197
|
+
# 直接指定 — 通过 CLI 参数快速映射
|
|
198
|
+
ccl map --opus gpt-5.1 --sonnet gpt-5.1-codex-max
|
|
199
|
+
ccl map --opus gpt-5.1 --sonnet gpt-5.1-mini --haiku gpt-4o-mini
|
|
200
|
+
ccl map --custom gpt-5.1 my-provider
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
三种模式:交互式 TUI(直接跳转到 Slot 映射页面)、自动检测填充、CLI 参数直接映射。
|
|
174
204
|
|
|
175
205
|
```bash
|
|
176
206
|
ccl list
|
|
@@ -247,7 +277,8 @@ GitHub Actions 自动构建 6 个平台二进制并发布到 GitHub Releases + n
|
|
|
247
277
|
│ ├── install.go # Claude CLI 自动安装
|
|
248
278
|
│ ├── lang_cmd.go # ccl lang 命令
|
|
249
279
|
│ ├── list.go # list 命令
|
|
250
|
-
│ ├──
|
|
280
|
+
│ ├── map.go # ccl map 命令(交互式/自动/CLI 三种映射模式)
|
|
281
|
+
│ ├── models.go # 模型列表展示 + 可用性检测
|
|
251
282
|
│ ├── root.go # ccl 主入口 + passthrough 模式
|
|
252
283
|
│ ├── settings.go # 预览 settings.json
|
|
253
284
|
│ ├── update.go # 自动升级
|
package/bin/ccl-darwin-amd64
CHANGED
|
Binary file
|
package/bin/ccl-darwin-arm64
CHANGED
|
Binary file
|
package/bin/ccl-linux-amd64
CHANGED
|
Binary file
|
package/bin/ccl-linux-arm64
CHANGED
|
Binary file
|
package/bin/ccl-win32-arm64.exe
CHANGED
|
Binary file
|
package/bin/ccl-win32-x64.exe
CHANGED
|
Binary file
|