@zshuangmu/agenthub 0.3.9 → 0.4.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 +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,6 +92,9 @@ cd AgentHub && npm install && npm link
|
|
|
92
92
|
# 1. 打包你的 OpenClaw workspace
|
|
93
93
|
agenthub pack --workspace ./my-workspace --config openclaw.json
|
|
94
94
|
|
|
95
|
+
# 或指定版本号
|
|
96
|
+
agenthub pack --workspace ./my-workspace --config openclaw.json --version 2.0.0
|
|
97
|
+
|
|
95
98
|
# 2. 发布到 Registry
|
|
96
99
|
agenthub publish ./bundles/my-agent.agent --registry ./.registry
|
|
97
100
|
```
|
|
@@ -138,7 +141,7 @@ agenthub verify code-review-assistant --registry ./.registry --target-workspace
|
|
|
138
141
|
|
|
139
142
|
| 命令 | 描述 |
|
|
140
143
|
|------|------|
|
|
141
|
-
| `pack` | 打包 workspace 为 Agent Bundle |
|
|
144
|
+
| `pack` | 打包 workspace 为 Agent Bundle(支持 `--version` 指定版本) |
|
|
142
145
|
| `publish` | 发布到本地 Registry |
|
|
143
146
|
| `publish-remote` | 发布到远程服务器 |
|
|
144
147
|
| `search` | 搜索 Registry 中的 Agent |
|
|
@@ -150,6 +153,7 @@ agenthub verify code-review-assistant --registry ./.registry --target-workspace
|
|
|
150
153
|
| `update` | 更新 Agent 到最新版 |
|
|
151
154
|
| `rollback` | 回滚 Agent 到指定版本 |
|
|
152
155
|
| `stats` | 查看 Agent 统计信息 |
|
|
156
|
+
| `doctor` | 诊断 AgentHub 安装和环境问题 |
|
|
153
157
|
| `serve` | 启动 Web + API 服务 |
|
|
154
158
|
| `api` | 仅启动 API 服务 |
|
|
155
159
|
| `web` | 仅启动 Web 前端 |
|