soulhubcli 1.0.22 → 1.0.24
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 +7 -7
- package/dist/index.cjs +2185 -429
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ npx soulhubcli <command>
|
|
|
42
42
|
| `soulhub info <name> --identity` | 显示 IDENTITY.md 内容 |
|
|
43
43
|
| `soulhub info <name> --soul` | 显示 SOUL.md 内容 |
|
|
44
44
|
| `soulhub info <name> --json` | 以 JSON 格式输出 Agent 详情 |
|
|
45
|
-
| `soulhub install <name>` | 从 Registry 安装 Agent 或团队(交互式:选择角色和目标
|
|
45
|
+
| `soulhub install <name>` | 从 Registry 安装 Agent 或团队(交互式:选择角色和目标 Claw) |
|
|
46
46
|
| `soulhub install <name> --role main` | 安装为主 Agent(跳过角色选择) |
|
|
47
47
|
| `soulhub install <name> --role worker` | 安装为 Worker Agent(跳过角色选择) |
|
|
48
48
|
| `soulhub install <name> --claw-type <type>` | 指定 claw 类型(跳过 claw 选择) |
|
|
@@ -92,7 +92,7 @@ soulhub search writer --json
|
|
|
92
92
|
|
|
93
93
|
CLI 会自动识别目标是单 Agent 还是多 Agent 团队,无需手动区分。
|
|
94
94
|
|
|
95
|
-
**默认行为:交互式安装。** CLI 会提示用户选择安装角色(主 Agent / Worker Agent)以及目标
|
|
95
|
+
**默认行为:交互式安装。** CLI 会提示用户选择安装角色(主 Agent / Worker Agent)以及目标 Claw 目录(单选)。通过命令行参数可跳过交互,实现完全非交互式安装。
|
|
96
96
|
|
|
97
97
|
**从 Registry 安装:**
|
|
98
98
|
|
|
@@ -215,8 +215,8 @@ soulhub rollback --id <record-id>
|
|
|
215
215
|
1. 展示 Agent 基本信息(名称、版本、描述、分类、标签)
|
|
216
216
|
2. 提示选择安装角色:**Main Agent** 或 **Worker Agent**
|
|
217
217
|
3. 安装为 Main Agent 时,警告将覆盖当前 workspace 内容(人格文件会被替换,记忆不受影响),需用户确认(或使用 `-y` 跳过)
|
|
218
|
-
4.
|
|
219
|
-
5.
|
|
218
|
+
4. 提示单选目标 Claw 目录(OpenClaw / LightClaw),一次只安装到一个 Claw
|
|
219
|
+
5. 执行安装、注册,并提示用户重启
|
|
220
220
|
|
|
221
221
|
### 单 Agent 安装
|
|
222
222
|
|
|
@@ -224,7 +224,7 @@ soulhub rollback --id <record-id>
|
|
|
224
224
|
- 安装为 **Main Agent** 时,部署到 `workspace/` 目录,会覆盖已有人格文件
|
|
225
225
|
- 安装前自动备份已有内容到 `~/.soulhub/backups/<claw>/`(按 claw 类型分目录存储)
|
|
226
226
|
- 仅覆盖 `IDENTITY.md`、`SOUL.md` 等灵魂文件,不影响 workspace 中的其他运行时文件
|
|
227
|
-
-
|
|
227
|
+
- 安装完成后提示用户重启 OpenClaw/LightClaw Gateway
|
|
228
228
|
|
|
229
229
|
### 多 Agent 团队安装
|
|
230
230
|
|
|
@@ -233,7 +233,7 @@ soulhub rollback --id <record-id>
|
|
|
233
233
|
- 安装前自动备份存量子 Agent(mv 方式移走已有 worker 目录)
|
|
234
234
|
- 自动配置多 Agent 之间的通信
|
|
235
235
|
- Worker Agent 自动注册到 claw 配置中
|
|
236
|
-
-
|
|
236
|
+
- 安装完成后提示用户重启 OpenClaw/LightClaw Gateway
|
|
237
237
|
|
|
238
238
|
### 备份与回滚
|
|
239
239
|
|
|
@@ -264,7 +264,7 @@ CLI 按以下优先级查找 claw 安装目录:
|
|
|
264
264
|
3. `OPENCLAW_HOME` / `LIGHTCLAW_HOME` 环境变量
|
|
265
265
|
4. 默认路径 `~/.openclaw`、`~/.lightclaw`
|
|
266
266
|
|
|
267
|
-
未指定 `--claw-type` 或 `--dir` 时,CLI 会检测所有可用的
|
|
267
|
+
未指定 `--claw-type` 或 `--dir` 时,CLI 会检测所有可用的 Claw 目录,多个时交互式单选(一次只安装到一个 Claw)。
|
|
268
268
|
|
|
269
269
|
## 环境要求
|
|
270
270
|
|