@claudecodelaunch/ccl 1.0.4 → 1.0.9

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 CHANGED
@@ -186,6 +186,18 @@ ccl
186
186
  ./ccl /compact
187
187
  ```
188
188
 
189
+ ### 5. 一键自我升级
190
+
191
+ `ccl` 提供了非常便捷的在线检测及升级命令:
192
+
193
+ ```bash
194
+ ccl update
195
+ ```
196
+
197
+ 运行后,`ccl` 会:
198
+ - 自动查询 npm 镜像源上的最新版本。
199
+ - 比对当前版本,若有新版本,将提示您选择升级方式(支持通过 `npm` 或 `go install` 一键自动下载并完成覆盖更新)。
200
+
189
201
  ---
190
202
 
191
203
  ## 📁 目录结构
@@ -197,6 +209,7 @@ ccl
197
209
  │ ├── doctor.go # 环境及密钥连通性自检
198
210
  │ ├── list.go # 列表展示提供商
199
211
  │ ├── root.go # ccl 主入口及 Claude 进程拉起
212
+ │ ├── update.go # 自动检查并更新 ccl 版本
200
213
  │ └── use.go # 快速切换激活提供商
201
214
  ├── internal/
202
215
  │ ├── claude/ # Claude Code CLI 自动安装、进程拉起及端口注入逻辑
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudecodelaunch/ccl",
3
- "version": "1.0.4",
3
+ "version": "1.0.9",
4
4
  "description": "Launcher and proxy wrapper for Claude Code CLI",
5
5
  "repository": {
6
6
  "type": "git",