惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
D
DataBreaches.Net
D
Docker
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
Martin Fowler
Martin Fowler
U
Unit 42
Engineering at Meta
Engineering at Meta
IT之家
IT之家
Vercel News
Vercel News
B
Blog RSS Feed
人人都是产品经理
人人都是产品经理
博客园 - Franky
博客园 - 【当耐特】
Stack Overflow Blog
Stack Overflow Blog
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: print resolved installer follow-up command · opencla...
sallyom · 2026-05-08 · via Recent Commits to openclaw:main

@@ -2006,6 +2006,24 @@ warn_shell_path_missing_dir() {

20062006

echo " export PATH=\"${dir}:\$PATH\""

20072007

}

200820082009+

openclaw_command_for_user() {

2010+

local claw="${1:-}"

2011+

if [[ -z "$claw" ]]; then

2012+

echo "openclaw"

2013+

return 0

2014+

fi

2015+2016+

local claw_dir="${claw%/*}"

2017+

if [[ "$claw_dir" != "$claw" ]] && path_has_dir "$ORIGINAL_PATH" "$claw_dir"; then

2018+

echo "openclaw"

2019+

return 0

2020+

fi

2021+2022+

local quoted_claw=""

2023+

printf -v quoted_claw '%q' "$claw"

2024+

echo "$quoted_claw"

2025+

}

2026+20092027

ensure_npm_global_bin_on_path() {

20102028

local bin_dir=""

20112029

bin_dir="$(npm_global_bin_dir || true)"

@@ -2300,7 +2318,9 @@ run_bootstrap_onboarding_if_needed() {

23002318

fi

2301231923022320

if [[ ! -r /dev/tty || ! -w /dev/tty ]]; then

2303-

ui_info "BOOTSTRAP.md found but no TTY; run openclaw onboard to finish setup"

2321+

local user_claw

2322+

user_claw="$(openclaw_command_for_user "${OPENCLAW_BIN:-}")"

2323+

ui_info "BOOTSTRAP.md found but no TTY; run ${user_claw} onboard to finish setup"

23042324

return

23052325

fi

23062326

@@ -2316,7 +2336,9 @@ run_bootstrap_onboarding_if_needed() {

23162336

fi

2317233723182338

"$claw" onboard || {

2319-

ui_error "Onboarding failed; run openclaw onboard to retry"

2339+

local user_claw

2340+

user_claw="$(openclaw_command_for_user "$claw")"

2341+

ui_error "Onboarding failed; run ${user_claw} onboard to retry"

23202342

return

23212343

}

23222344

}

@@ -2702,11 +2724,15 @@ main() {

27022724

ui_warn "Doctor failed; skipping plugin updates"

27032725

fi

27042726

else

2705-

ui_info "No TTY; run openclaw doctor and openclaw plugins update --all manually"

2727+

local user_claw

2728+

user_claw="$(openclaw_command_for_user "${OPENCLAW_BIN:-}")"

2729+

ui_info "No TTY; run ${user_claw} doctor and ${user_claw} plugins update --all manually"

27062730

fi

27072731

else

27082732

if [[ "$NO_ONBOARD" == "1" || "$skip_onboard" == "true" ]]; then

2709-

ui_info "Skipping onboard (requested); run openclaw onboard later"

2733+

local user_claw

2734+

user_claw="$(openclaw_command_for_user "${OPENCLAW_BIN:-}")"

2735+

ui_info "Skipping onboard (requested); run ${user_claw} onboard later"

27102736

else

27112737

local config_path="${OPENCLAW_CONFIG_PATH:-$HOME/.openclaw/openclaw.json}"

27122738

if [[ -f "${config_path}" || -f "$HOME/.clawdbot/clawdbot.json" ]]; then

@@ -2731,7 +2757,9 @@ main() {

27312757

exec </dev/tty

27322758

exec "$claw" onboard

27332759

fi

2734-

ui_info "No TTY; run openclaw onboard to finish setup"

2760+

local user_claw

2761+

user_claw="$(openclaw_command_for_user "${OPENCLAW_BIN:-}")"

2762+

ui_info "No TTY; run ${user_claw} onboard to finish setup"

27352763

return 0

27362764

fi

27372765

fi