@chatcode/chatcode-cli-test 1.0.3 → 1.0.5

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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/cli.js +1828 -1772
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ ChatCode-cli 是 ChatCode官方推出的命令行工具,让你可以在终端
10
10
 
11
11
  如果本机已有 Node.js `>= 20`,脚本会直接复用,不会更新。检测到低于 `20` 的 Node.js 时,脚本会先询问是否升级;拒绝升级将退出安装。
12
12
 
13
- 安装 ChatCode CLI 前,脚本会通过 `--registry=https://registry.npmmirror.com` 检查 `@chinaunicom-chatcode-cli/chatcode-cli` 是否为最新版本。如果已安装版本不是最新版本,会提示当前版本和最新版本,并询问是否更新;拒绝更新时会继续保留当前已安装版本。
13
+ 安装 ChatCode CLI 前,脚本会通过 `--registry=https://registry.npmmirror.com` 检查 `@chatcode/chatcode-cli` 是否为最新版本。如果已安装版本不是最新版本,会提示当前版本和最新版本,并询问是否更新;拒绝更新时会继续保留当前已安装版本。
14
14
 
15
15
  Windows 会检查 Git for Windows 和 Git Bash。建议使用 Git `>= 2.21.0`;检测到更低版本时会显示 warning,但不会阻断安装。
16
16
 
@@ -47,13 +47,13 @@ Windows 安装后如果新打开标签页仍提示 `node` 或 `chatcode-cli` 不
47
47
  方式1:外部安装
48
48
 
49
49
  ```bash
50
- npm install -g @chinaunicom-chatcode-cli/chatcode-cli@latest
50
+ npm install -g @chatcode/chatcode-cli@latest
51
51
  ```
52
52
 
53
53
  方式2:内部仓库安装
54
54
 
55
55
  ```bash
56
- npm install -g @chinaunicom-chatcode-cli/chatcode-cli@latest --registry http://ccp.tianti.tg.unicom.local/artifactory/api/npm/ckp-npm-virtual/
56
+ npm install -g @chatcode/chatcode-cli@latest --registry http://ccp.tianti.tg.unicom.local/artifactory/api/npm/ckp-npm-virtual/
57
57
  ```
58
58
 
59
59
  ### 3. 配置ChatCode CLI设置
@@ -97,13 +97,13 @@ chatcode-cli
97
97
 
98
98
  ```bash
99
99
  # 卸载
100
- npm uninstall -g @chinaunicom-chatcode-cli/chatcode-cli
100
+ npm uninstall -g @chatcode/chatcode-cli
101
101
 
102
102
  # 重新安装
103
103
  # 方式1:外部安装
104
- npm install -g @chinaunicom-chatcode-cli/chatcode-cli@latest
104
+ npm install -g @chatcode/chatcode-cli@latest
105
105
  # 方式2:内部仓库安装
106
- npm install -g @chinaunicom-chatcode-cli/chatcode-cli@latest --registry http://ccp.tianti.tg.unicom.local/artifactory/api/npm/ckp-npm-virtual/
106
+ npm install -g @chatcode/chatcode-cli@latest --registry http://ccp.tianti.tg.unicom.local/artifactory/api/npm/ckp-npm-virtual/
107
107
  ```
108
108
 
109
109