@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +28 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zshuangmu/agenthub",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "AI Agent 打包与分发平台 - 一句话打包上传,一键下载获得能力",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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 统计信息