rush-ai 0.15.0 → 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 +3 -3
- package/README.md +30 -0
- package/dist/index.js +357 -139
- package/dist/index.js.map +1 -1
- package/dist/skills/.rush-playbooks +1 -0
- package/package.json +3 -2
- package/skills/.rush-playbooks +1 -0
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
|
|
18
|
-
npx rush-ai
|
|
19
|
-
npx rush-ai
|
|
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
|
| 命令 | 说明 |
|
|
@@ -165,6 +194,7 @@ rush-ai task status <id> --json
|
|
|
165
194
|
| 命令 | 说明 |
|
|
166
195
|
|------|------|
|
|
167
196
|
| `auth login` / `status` / `logout` | 登录(浏览器或 API key) / 看状态 / 登出 |
|
|
197
|
+
| `playbook [name]` | 输出给本地 Agent 使用的 markdown playbook(旧 `skill hand-off` 已迁移) |
|
|
168
198
|
| `config show` / `set` / `use` / `create` / `delete` / `list` | profile 管理(多环境切换) |
|
|
169
199
|
| `completion install` / `bash\|zsh\|fish` | shell 补全 |
|
|
170
200
|
| `doctor` | 环境 / 认证 / 连通性诊断 |
|