fix: bind 0.0.0.0 by default so remote devices can access OCM

- server.listen was hardcoded to 127.0.0.1, causing ERR_CONNECTION_REFUSED on remote access
- Default to 0.0.0.0, add --host flag to override (e.g. --host 127.0.0.1 for local-only)
- Show LAN IP in startup log for easy remote access
- Startup log and error messages switched to English
- Bump version to v0.5.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 10:12:36 +00:00
co-authored by Claude Opus 4.6
parent 6cca232e9e
commit e38f91ec4a
4 changed files with 57 additions and 17 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# ================================================================
# OpenClaw Manager v0.5.1 — 跨平台启动脚本 (macOS / Linux)
# OpenClaw Manager v0.5.2 — 跨平台启动脚本 (macOS / Linux)
#
# 特性:
# • 自动检测 Node.js,未安装时给出安装指引
@@ -22,7 +22,7 @@ CYAN='\033[0;36m'; BOLD='\033[1m'; DIM='\033[2m'; RESET='\033[0m'
banner() {
echo ""
echo -e "${CYAN}${BOLD} 🦀 OpenClaw Manager v0.5.1${RESET}"
echo -e "${CYAN}${BOLD} 🦀 OpenClaw Manager v0.5.2${RESET}"
echo -e "${DIM} ─────────────────────────────${RESET}"
echo ""
}