@cannbot-ai/install-helper 1.2.1-beta.2 → 1.2.2-beta.0
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 +10 -13
- package/dist/index.js +336 -140
- package/dist/index.js.map +1 -1
- package/dist/locales/en_US.json +10 -0
- package/dist/locales/zh_CN.json +10 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -101,30 +101,27 @@ install-helper install --list # 查看所有可用 Sk
|
|
|
101
101
|
|------|------|
|
|
102
102
|
| `--tool <tool>` | 指定 AI 工具(opencode, claude, trae, cursor, codex, copilot, codearts) |
|
|
103
103
|
| `--level <level>` | 安装级别(project, global),默认 project |
|
|
104
|
-
| `--source <source>` | 同名插件的安装来源(cannbot, skills):默认 cannbot 仓插件优先,`--source skills` 强制安装 cannbot-skills 仓旧版 |
|
|
105
104
|
| `--all` `-a` | 安装全部 Skills |
|
|
106
105
|
| `--list` | 按类别列出所有可用 Skills |
|
|
107
106
|
| `--yes` `-y` | 跳过所有确认提示 |
|
|
108
107
|
|
|
109
|
-
### 安装 cannbot
|
|
108
|
+
### 安装 cannbot 仓插件
|
|
110
109
|
|
|
111
|
-
|
|
110
|
+
部分插件已迁移至 [cannbot 仓](https://gitcode.com/cann/cannbot) 维护,install-helper 直接支持,无需额外操作:
|
|
112
111
|
|
|
113
112
|
```bash
|
|
114
|
-
install-helper install ops-direct-invoke --tool opencode #
|
|
115
|
-
install-helper
|
|
116
|
-
install-helper
|
|
117
|
-
install-helper uninstall ops-direct-invoke # 按 cannbot-plugin.json 注册表精确卸载
|
|
113
|
+
install-helper install ops-direct-invoke --tool opencode # 安装
|
|
114
|
+
install-helper update ops-direct-invoke # 更新
|
|
115
|
+
install-helper uninstall ops-direct-invoke # 卸载
|
|
118
116
|
```
|
|
119
117
|
|
|
120
|
-
`list` / `status`
|
|
118
|
+
产物与 `npx @cannbot-plugin/cannbot install` 直装完全一致;`list` / `status` 中带 `[cannbot]` 徽标与版本号。
|
|
121
119
|
|
|
122
|
-
|
|
120
|
+
**限制**:
|
|
123
121
|
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
- 环境变量:`CANNBOT_INSTALLER_PATH`(直接指定安装器包路径,离线/调试用)、`CANNBOT_INSTALLER_CHANNEL`(覆盖通道,latest/beta/精确版本);上游 `CANNBOT_SOURCE_ROOT`、`CANNBOT_SKIP_*` 等环境变量原样透传
|
|
122
|
+
- 仅支持 project 级安装;支持工具:opencode / codex / claude / trae(cursor / copilot / codearts 会明确报错)
|
|
123
|
+
- 需要 Node.js 运行环境
|
|
124
|
+
- 离线/调试:`CANNBOT_INSTALLER_PATH` 指定安装器包路径,`CANNBOT_INSTALLER_CHANNEL` 覆盖通道
|
|
128
125
|
|
|
129
126
|
### 更新
|
|
130
127
|
|