@yyy9527/openclaw-manager 0.1.1 → 0.1.2

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 CHANGED
@@ -61,9 +61,9 @@ npm run help
61
61
  脚本入口支持统一全局参数:
62
62
 
63
63
  ```bash
64
- bash ./scripts/openclaw_ctl.sh --help
65
- bash ./scripts/openclaw_ctl.sh --config ./config/openclaw.dev.env status
66
- bash ./scripts/openclaw_ctl.sh --config ./config/openclaw.prod.env --env-file ./.env.prod apply-config
64
+ openclaw-manager --help
65
+ openclaw-manager --config ./config/openclaw.dev.env status
66
+ openclaw-manager --config ./config/openclaw.prod.env --env-file ./.env.prod apply-config
67
67
  ```
68
68
 
69
69
  如果通过 `npm run` 使用,也可以把参数透传给底层脚本(注意 `--`):
@@ -181,8 +181,8 @@ npm run set-model:qwen
181
181
 
182
182
  ```bash
183
183
  npm pack
184
- npx openclaw-manager --help
185
- npx clawctl --help
184
+ npx @yyy9527/openclaw-manager --help
185
+ npx @yyy9527/openclaw-manager status
186
186
  ```
187
187
 
188
188
  发布前建议:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yyy9527/openclaw-manager",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "OpenClaw multi-instance manager for macOS with docker, TUI, and collaboration workflow.",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@ usage() {
14
14
  OpenClaw Manager CLI(多实例运维入口)
15
15
 
16
16
  用法:
17
- ./scripts/openclaw_ctl.sh [--config <path>] [--env-file <path>] <command> [args]
17
+ openclaw-manager [--config <path>] [--env-file <path>] <command> [args]
18
18
 
19
19
  全局参数:
20
20
  -h, --help 显示帮助
@@ -23,7 +23,7 @@ OpenClaw Manager CLI(多实例运维入口)
23
23
 
24
24
  命令:
25
25
  setup
26
- install
26
+ install | deploy
27
27
  start | stop | restart | status
28
28
  logs [service]
29
29
  list-claw
@@ -40,8 +40,8 @@ OpenClaw Manager CLI(多实例运维入口)
40
40
  self-test
41
41
 
42
42
  示例:
43
- ./scripts/openclaw_ctl.sh --config ./config/openclaw.dev.env status
44
- ./scripts/openclaw_ctl.sh --env-file ./.env.prod start-claw master
43
+ openclaw-manager --config ./config/openclaw.dev.env status
44
+ openclaw-manager --env-file ./.env.prod start-claw master
45
45
  EOF
46
46
  }
47
47
 
@@ -238,7 +238,7 @@ case "${command}" in
238
238
  setup)
239
239
  "${PROJECT_ROOT}/scripts/setup_env.sh"
240
240
  ;;
241
- install)
241
+ install|deploy)
242
242
  run_install
243
243
  ;;
244
244
  start)
@@ -269,7 +269,7 @@ case "${command}" in
269
269
  ;;
270
270
  chat-claw)
271
271
  claw_name="${2:-}"
272
- [ -n "${claw_name}" ] || { echo "用法: ./scripts/openclaw_ctl.sh chat-claw <name>" >&2; exit 1; }
272
+ [ -n "${claw_name}" ] || { echo "用法: openclaw-manager chat-claw <name>" >&2; exit 1; }
273
273
  chat_with_claw "${claw_name}"
274
274
  ;;
275
275
  status-claw)