@zshuangmu/agenthub 0.4.5 → 0.4.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zshuangmu/agenthub",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "AI Agent 打包与分发平台 - 一句话打包上传,一键下载获得能力",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -100,7 +100,7 @@ export async function packCommand(options) {
100
100
  openclawTemplate: template,
101
101
  skills: workspaceFiles.skills,
102
102
  prompts: workspaceFiles.prompts,
103
- tags: options.tags ? options.tags.split(",").map((t) => t.trim()) : [],
103
+ tags: options.tags && typeof options.tags === "string" && options.tags.trim() ? options.tags.split(",").map((t) => t.trim()) : [],
104
104
  category: options.category,
105
105
  version,
106
106
  featured: options.featured === true,