rush-ai 0.14.0 → 0.14.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/README.md +26 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -141,12 +141,18 @@ rush-ai task status <id> --json
|
|
|
141
141
|
|
|
142
142
|
| 命令 | 说明 |
|
|
143
143
|
|------|------|
|
|
144
|
-
| `marketplace add <source>` | 注册 marketplace(`github:owner/repo
|
|
144
|
+
| `marketplace add <source>` | 注册 marketplace(`github:owner/repo`、`directory:/abs/path`、`rush://<host>`) |
|
|
145
145
|
| `marketplace list` / `remove` / `update` | 管理本地 marketplace 缓存 |
|
|
146
|
-
| `plugin install <ref>` | 一条命令同步装到 Claude Code + Codex + Cursor;`--target` 单独装;`--dry-run` / `--force` |
|
|
146
|
+
| `plugin install <ref>` | 一条命令同步装到 Claude Code + Codex + Cursor;`--target` 单独装;`--dry-run` / `--force` / `--secret KEY=VALUE` |
|
|
147
147
|
| `plugin list` / `uninstall` / `update` | 对称管理 |
|
|
148
148
|
|
|
149
|
-
`<ref>` 格式:`<name>` 或 `<name>@<marketplace>`(例 `
|
|
149
|
+
`<ref>` 格式:`<name>` 或 `<name>@<marketplace>`(例 `my-plugin@rush`)。
|
|
150
|
+
|
|
151
|
+
`rush://` source 特性:
|
|
152
|
+
- 首次 `plugin install xxx@rush` 自动注册 Rush 平台 marketplace(无需手动 `marketplace add`)
|
|
153
|
+
- 自动从 API 获取 plugin manifest + 用 reskill 下载完整 skill 目录
|
|
154
|
+
- `--secret KEY=VALUE`(可重复)预设 MCP 凭证,跳过交互式输入
|
|
155
|
+
- `--force` 重新拉取 manifest 并更新 secrets
|
|
150
156
|
|
|
151
157
|
### 认证 / 配置 / 其他
|
|
152
158
|
|
|
@@ -194,20 +200,30 @@ rush-ai config list
|
|
|
194
200
|
|
|
195
201
|
### 插件分发(可选)
|
|
196
202
|
|
|
197
|
-
|
|
203
|
+
把 Rush 平台上创建的 Plugin(Skill + MCP 组合包)一键装到本地 IDE:
|
|
198
204
|
|
|
199
205
|
```bash
|
|
200
|
-
|
|
201
|
-
rush-ai plugin install rush
|
|
202
|
-
# ✓ Claude Code (
|
|
206
|
+
# 从 Rush 平台安装(自动注册 marketplace,无需手动 add)
|
|
207
|
+
rush-ai plugin install my-plugin@rush
|
|
208
|
+
# ✓ Claude Code (skills + MCP)
|
|
203
209
|
# ✓ Codex (skills + MCP)
|
|
204
|
-
# ✓ Cursor (skills +
|
|
210
|
+
# ✓ Cursor (skills + MCP)
|
|
211
|
+
|
|
212
|
+
# 带 MCP secrets(CI/非交互模式)
|
|
213
|
+
rush-ai plugin install my-plugin@rush --secret SHIMO_TOKEN=xxx --secret API_KEY=yyy
|
|
205
214
|
|
|
206
215
|
# 只装某一家
|
|
207
|
-
rush-ai plugin install rush --target claude-code
|
|
216
|
+
rush-ai plugin install my-plugin@rush --target claude-code
|
|
217
|
+
|
|
218
|
+
# 更新 secrets / 刷新 skill
|
|
219
|
+
rush-ai plugin install my-plugin@rush --force --secret SHIMO_TOKEN=new-value
|
|
208
220
|
|
|
209
221
|
# 预览不落盘
|
|
210
|
-
rush-ai plugin install rush --dry-run
|
|
222
|
+
rush-ai plugin install my-plugin@rush --dry-run
|
|
223
|
+
|
|
224
|
+
# GitHub marketplace 也支持
|
|
225
|
+
rush-ai marketplace add github:kanyun-inc/rush-plugin
|
|
226
|
+
rush-ai plugin install rush
|
|
211
227
|
```
|
|
212
228
|
|
|
213
229
|
这条路径和每个 IDE 自己的 `/plugin install` 等价 —— 装完之后 IDE 的 `/plugin list` 能看到、`/plugin uninstall` 也能卸载。不用这条路径就忽略;日常的 `task create` / `task push` 和插件分发完全独立。
|