rush-ai 0.14.1 → 0.16.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/AGENTS.md CHANGED
@@ -14,9 +14,9 @@ If you are an AI agent (Cursor, Claude Code, or another IDE-resident assistant)
14
14
  From inside any shell (the one you already have a Bash tool for), these three commands give you everything you need:
15
15
 
16
16
  ```bash
17
- npx rush-ai skill # prints the index — start here
18
- npx rush-ai skill hand-off # full hand-off playbook
19
- npx rush-ai skill agent-shelf # full agent-shelf playbook
17
+ npx rush-ai playbook # prints the index — start here
18
+ npx rush-ai playbook hand-off # full hand-off playbook
19
+ npx rush-ai playbook agent-shelf # full agent-shelf playbook
20
20
  npx rush-ai agent list # see the live list of available agents
21
21
  ```
22
22
 
package/README.md CHANGED
@@ -95,6 +95,7 @@ rush-ai task status <id> --json
95
95
  - **生产发布**:`task deploy <id>` —— web-builder 产物发 prod,支持自定义域名
96
96
  - **agent shelf**:`agent list` / `agent info` —— 浏览和使用 Rush 平台的专家 agent
97
97
  - **MCP 集成**:作为 MCP stdio server 跑,或浏览平台上的 MCP server 和工具
98
+ - **Skill 管理**:`skill install/list/publish` 代理 reskill,但复用 Rush 登录态和 registry
98
99
  - **多环境 profile**:在不同 Rush 环境之间切换
99
100
  - **shell 补全**:bash / zsh / fish
100
101
  - **CI 友好**:`--json` 输出、`--ci` 模式、出错返回非 0 退出码
@@ -137,6 +138,34 @@ rush-ai task status <id> --json
137
138
  | `mcp uninstall <id>` | 从 Claude Desktop / Claude Code 移除 MCP |
138
139
  | `mcp serve` | 把 rush-ai 当成 MCP stdio server 启动 |
139
140
 
141
+ ### Skill 管理
142
+
143
+ | 命令 | 说明 |
144
+ |------|------|
145
+ | `skill find <query>` / `skill search <query>` | 在 Skill Registry 中搜索 Skill |
146
+ | `skill install [skills...]` / `skill i` | 安装一个或多个 Skill,默认使用当前 Rush registry 和 auth token |
147
+ | `skill list` / `skill ls` | 列出已安装 Skill |
148
+ | `skill info <skill>` | 查看 Skill 详情 |
149
+ | `skill update [skill]` / `skill up` | 更新 Skill |
150
+ | `skill outdated` | 检查过期 Skill |
151
+ | `skill uninstall <skill>` / `skill rm` | 移除 Skill |
152
+ | `skill publish [path]` / `skill pub` | 发布 Skill 到 Rush Registry |
153
+ | `skill group ...` | 管理 Skill 分组和成员 |
154
+
155
+ `rush-ai skill` 内置调用 reskill 包管理能力,但用户只需要安装 `rush-ai`
156
+ 一个包。执行时会自动把当前 Rush profile 的 API URL 注入为
157
+ `RESKILL_REGISTRY`,并把 `rush-ai auth` 的 token 注入为 `RESKILL_TOKEN`。
158
+ 因此 Rush 用户不需要单独安装 reskill 或执行 `reskill login`:
159
+
160
+ ```bash
161
+ rush-ai auth login
162
+ rush-ai skill install @kanyun/rush-find-skills
163
+ RUSH_API_KEY=$KEY rush-ai skill publish --ci --dry-run
164
+ ```
165
+
166
+ Auth 生命周期统一使用 `rush-ai auth login/status/logout`。如果你要连接非 Rush
167
+ registry,仍然可以直接使用独立的 `reskill` CLI。
168
+
140
169
  ### 插件分发
141
170
 
142
171
  | 命令 | 说明 |
@@ -154,11 +183,18 @@ rush-ai task status <id> --json
154
183
  - `--secret KEY=VALUE`(可重复)预设 MCP 凭证,跳过交互式输入
155
184
  - `--force` 重新拉取 manifest 并更新 secrets
156
185
 
186
+ `claude-plugins-official` source 特性:
187
+ - 首次 `plugin install xxx@claude-plugins-official` 自动注册 Anthropic 官方 marketplace
188
+ - 支持 URL source 按需 clone:外部 git repo 的 plugin 自动 clone 到 `~/.rush/plugin-cache/`
189
+ - 支持 git-subdir 模式(一个 repo 内多个 plugin)
190
+ - `--force` 重新 clone 最新版本
191
+
157
192
  ### 认证 / 配置 / 其他
158
193
 
159
194
  | 命令 | 说明 |
160
195
  |------|------|
161
196
  | `auth login` / `status` / `logout` | 登录(浏览器或 API key) / 看状态 / 登出 |
197
+ | `playbook [name]` | 输出给本地 Agent 使用的 markdown playbook(旧 `skill hand-off` 已迁移) |
162
198
  | `config show` / `set` / `use` / `create` / `delete` / `list` | profile 管理(多环境切换) |
163
199
  | `completion install` / `bash\|zsh\|fish` | shell 补全 |
164
200
  | `doctor` | 环境 / 认证 / 连通性诊断 |
@@ -221,6 +257,10 @@ rush-ai plugin install my-plugin@rush --force --secret SHIMO_TOKEN=new-value
221
257
  # 预览不落盘
222
258
  rush-ai plugin install my-plugin@rush --dry-run
223
259
 
260
+ # Anthropic 官方 marketplace(170+ 社区 plugin,自动注册)
261
+ rush-ai plugin install sentry@claude-plugins-official
262
+ rush-ai plugin install aikido@claude-plugins-official --target claude-code
263
+
224
264
  # GitHub marketplace 也支持
225
265
  rush-ai marketplace add github:kanyun-inc/rush-plugin
226
266
  rush-ai plugin install rush