@zshuangmu/agenthub 0.4.12 → 0.4.13
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/package.json +1 -1
- package/src/cli.js +28 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -258,6 +258,34 @@ agenthub rollback - 回滚 Agent 到指定版本
|
|
|
258
258
|
示例:
|
|
259
259
|
agenthub rollback workspace --to 1.0.0 --registry ./.registry --target-workspace ./my-workspace
|
|
260
260
|
agenthub rollback workspace --to 1.0.0 --server https://agenthub.cyou --target-workspace ./my-workspace
|
|
261
|
+
`,
|
|
262
|
+
info: `
|
|
263
|
+
agenthub info - 查看 Agent 详情
|
|
264
|
+
|
|
265
|
+
用法:
|
|
266
|
+
agenthub info <agent-slug> [--registry <dir> | --server <url>]
|
|
267
|
+
|
|
268
|
+
选项:
|
|
269
|
+
--registry <dir> 本地 Registry 目录(与 --server 二选一)
|
|
270
|
+
--server <url> 远程服务器地址(默认: https://agenthub.cyou)
|
|
271
|
+
--json JSON 格式输出
|
|
272
|
+
|
|
273
|
+
示例:
|
|
274
|
+
agenthub info code-review-assistant --registry ./.registry
|
|
275
|
+
agenthub info my-agent --server https://agenthub.cyou --json
|
|
276
|
+
`,
|
|
277
|
+
"publish-remote": `
|
|
278
|
+
agenthub publish-remote - 发布 Agent 到远程服务器
|
|
279
|
+
|
|
280
|
+
用法:
|
|
281
|
+
agenthub publish-remote <bundle-dir> --server <url>
|
|
282
|
+
|
|
283
|
+
选项:
|
|
284
|
+
--server <url> 远程服务器地址(默认: https://agenthub.cyou)
|
|
285
|
+
|
|
286
|
+
示例:
|
|
287
|
+
agenthub publish-remote ./bundles/my-agent.agent
|
|
288
|
+
agenthub publish-remote ./bundles/my-agent.agent --server https://agenthub.cyou
|
|
261
289
|
`,
|
|
262
290
|
stats: `
|
|
263
291
|
agenthub stats - 查看 Agent 统计信息
|