soulhubcli 1.0.0 → 1.0.4

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/README.md +16 -0
  2. package/package.json +10 -2
package/README.md CHANGED
@@ -4,6 +4,22 @@ SoulHub CLI — 用于安装和管理 OpenClaw AI Agent 人格模板的命令行
4
4
 
5
5
  ## 安装
6
6
 
7
+ ### 方式一:curl 一键安装(推荐)
8
+
9
+ 无需安装 Node.js,自动下载对应平台的二进制文件:
10
+
11
+ ```bash
12
+ curl -fsSL https://soulhub-1251783334.cos.ap-guangzhou.myqcloud.com/install.sh | bash
13
+ ```
14
+
15
+ 指定版本安装:
16
+
17
+ ```bash
18
+ SOULHUB_VERSION=v1.0.1 curl -fsSL https://soulhub-1251783334.cos.ap-guangzhou.myqcloud.com/install.sh | bash
19
+ ```
20
+
21
+ ### 方式二:npm 安装
22
+
7
23
  ```bash
8
24
  npm install -g soulhubcli
9
25
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soulhubcli",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "description": "SoulHub CLI - Install and manage AI agent persona templates for OpenClaw",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,7 +29,7 @@
29
29
  "license": "MIT",
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "https://github.com/soulhub-community/soulhub-cli"
32
+ "url": "https://github.com/lndyzwdxhs/soulhub-cli.git"
33
33
  },
34
34
  "engines": {
35
35
  "node": ">=18.0.0"
@@ -45,7 +45,15 @@
45
45
  "devDependencies": {
46
46
  "@types/js-yaml": "^4.0.9",
47
47
  "@types/node": "^20.0.0",
48
+ "@yao-pkg/pkg": "^6.0.0",
48
49
  "tsup": "^8.0.0",
49
50
  "typescript": "^5.4.0"
51
+ },
52
+ "pkg": {
53
+ "scripts": "dist/**/*.js",
54
+ "targets": [
55
+ "node20"
56
+ ],
57
+ "outputPath": "bin"
50
58
  }
51
59
  }