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

推荐订阅源

N
News and Events Feed by Topic
Malwarebytes
Malwarebytes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cybersecurity and Infrastructure Security Agency CISA
F
Future of Privacy Forum
C
Cisco Blogs
T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
S
Securelist
K
Kaspersky official blog
S
Schneier on Security
T
ThreatConnect
T
Tenable Blog
Spread Privacy
Spread Privacy
T
True Tiger Recordings
AWS News Blog
AWS News Blog
F
Fox-IT International blog
量子位
T
Threatpost
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Cisco Talos Blog
Cisco Talos Blog
GbyAI
GbyAI
宝玉的分享
宝玉的分享
腾讯CDC
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
Cyberwarzone
Cyberwarzone
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
U
Unit 42
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
小众软件
小众软件
A
About on SuperTechFans
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
美团技术团队
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog

Recent Commits to openclaw:main

fix(perf): fail startup bench on early gateway exit · openclaw/openclaw@a8fc28c fix: prevent plain text tool call leaks (#86222) · openclaw/openclaw@cd62780 fix(scripts): include ui:build in build-all full and ciArtifacts prof… · openclaw/openclaw@6704d0a fix(e2e): sample Windows kitchen sink gateway RSS · openclaw/openclaw@73189e3 fix(cron): respect isolated target and error on missing remove id (#8… · openclaw/openclaw@6709f4e fix(pi-embedded-runner): propagate trigger-derived priority to the gl… · openclaw/openclaw@0580f57 fix(cli): suppress self-update version warnings · openclaw/openclaw@e2bd20f fix: preserve webchat source reply details · openclaw/openclaw@aa50c51 docs: replace OpenClaw docs skill and add plugin permissions guide · openclaw/openclaw@0dabb70 fix(codex): preserve source reply mode for active runs (#86325) · openclaw/openclaw@b962110 fix: make compaction reinjection opt-in · openclaw/openclaw@ab910f8 fix codex usage-limit recovery copy (#86305) · openclaw/openclaw@c3c8a65 feat(ui): add ephemeral Activity tab · openclaw/openclaw@3dd0e8e fix(tests): harden native macos plugin proof · openclaw/openclaw@a5d5604 fix(commitments): serialize load-modify-save with in-process queue + … · openclaw/openclaw@d3c293d Fail Codex compaction at the Codex boundary (#85958) · openclaw/openclaw@dd47e47 fix(docker): restore config parent ownership · openclaw/openclaw@908b894 docs: clarify config default review policy (#86329) · openclaw/openclaw@3a03dd5 docs: clean changelog script entries · openclaw/openclaw@0eead19 fix(scripts): budget restart benchmark timeouts · openclaw/openclaw@5bd5509 fix: align ui vitest config assertion · openclaw/openclaw@730fd19 fix: route unit ui vitest targets narrowly · openclaw/openclaw@777402e fix: route explicit ui vitest targets narrowly · openclaw/openclaw@56a383c fix(android): harden play media permission removal fix(webchat): stabilize live transcript run state · openclaw/openclaw@119a01c fix(scripts): fail restart benchmark regressions · openclaw/openclaw@95d1b39 fix(openai): scope external codex auth to realtime fix(openai): prefer codex auth for GPT realtime · openclaw/openclaw@48c4f57 fix(openai): discover codex cli auth for provider checks · openclaw/openclaw@4656275 fix(android): keep talk mode on realtime relay · openclaw/openclaw@70614f8 test(android): add gateway connect adb probe · openclaw/openclaw@d7aa1f3 fix(android): stabilize realtime talk connection state · openclaw/openclaw@ffb02a5 test(android): add voice mode adb e2e harness · openclaw/openclaw@e52a3b3 fix(ci): stabilize deadcode and catalog checks · openclaw/openclaw@3db1508 fix(scripts): prebuild gateway cpu bench · openclaw/openclaw@ca70015 fix(e2e): harden bundled lifecycle probe on Windows · openclaw/openclaw@4798264 test(e2e): sample kitchen sink rpc peak rss · openclaw/openclaw@60c0f24 fix(scripts): remove stale deadcode allowlist entries · openclaw/openclaw@ea3bb92 fix(telegram): route polling diagnostics away from errors · openclaw/openclaw@b5c1199 fix(plugins): support linked source checkouts on Windows · openclaw/openclaw@793e300 fix(gateway): back off session tool mirrors under pressure (#84846) · openclaw/openclaw@42bdc94 fix(config): skip shell env fallback on Windows (#85739) · openclaw/openclaw@06bf302 fix(gateway): avoid duplicate session message broadcasts · openclaw/openclaw@1459044 fix: repair anchorless iMessage watch payloads · openclaw/openclaw@f37fbc9 fix(cli): route node status hints to stdout (#85780) · openclaw/openclaw@749692e fix(oc-path): support deep config edits (#86060) · openclaw/openclaw@3a72a30 fix(config): quiet benign metadata anomaly output · openclaw/openclaw@f3f4f29 fix(test): fail multi-node update regressions · openclaw/openclaw@732cf54 fix(google-vertex): support production ADC modes (#83971) · openclaw/openclaw@f09b4eb test(e2e): expose corrupt plugin deps smoke · openclaw/openclaw@fa3ff4d fix(codex): log app-server approval promotion trigger · openclaw/openclaw@d9af23f test(e2e): harden multi-node update smoke Clean up browser MCP subprocess tree (#85832) · openclaw/openclaw@8dc6b4d fix(agents): log warnings instead of swallowing subagent errors (#82943) · openclaw/openclaw@907bc03 fix(compaction): preserve partial summary on mid-chain chunk failure … · openclaw/openclaw@f0061dd fix(config): do not suppress recovery retry after failed backup resto… · openclaw/openclaw@5d174a5 chore: release 2026.5.25 fix(installer): support alpine cli installs · openclaw/openclaw@f68ed72 test(agents): keep runtime-plan provider mock current fix(scripts): launch env package scripts on Windows · openclaw/openclaw@4d4ce9e fix(agents): cache fallback provider resolution · openclaw/openclaw@3c8d101 fix(test): make import timing scripts Windows-safe · openclaw/openclaw@8ae9977 fix(telegram): transient Telegram pairing prompts (#85555) · openclaw/openclaw@8209426 fix(test): make max Vitest scripts Windows-safe · openclaw/openclaw@b681d5d fix(doctor): migrate Feishu account bot names (#86081) · openclaw/openclaw@9e8cc7e fix(scripts): prefilter conflict marker scans docs: add ClawSweeper review policy to AGENTS (#86197) · openclaw/openclaw@242e876 fix(installer): avoid before with npm release-age configs (#85491) · openclaw/openclaw@4742db6 fix(e2e): retry Windows kitchen sink probes · openclaw/openclaw@3e275a5 fix(installer): install node with apk on alpine fix(installer): detect musl linux shells · openclaw/openclaw@acfed37 perf(plugins,gateway): thread metadata snapshot + discovery through h… · openclaw/openclaw@8ccb11c fix(ui): split control ui runtime chunks · openclaw/openclaw@8bf4f7d refactor(config): extract GoogleChat schema into zod-schema.providers… · openclaw/openclaw@fe34141 fix(update): suppress internal handoff version warnings · openclaw/openclaw@6cc8244 test(e2e): select installable bundled plugins · openclaw/openclaw@0acc3e3 fix(scripts): harden Windows native opus install · openclaw/openclaw@43252c8 fix(agents): match runtime policy entries when session provider is em… fix(scripts): harden Windows generated formatting · openclaw/openclaw@0a98559 fix(mcp): bound tools/list during catalog discovery (#85063) · openclaw/openclaw@07f500a fix(test): focus plugin binding Docker smoke · openclaw/openclaw@dfa1a51 test(e2e): fail release memory indexing errors test(daemon): fail launchd integration bootstrap errors · openclaw/openclaw@af07769 feat(imessage): support thumb approval reactions (#85952) · openclaw/openclaw@5c7980f fix(crabbox): default macos aws runs on demand fix(scripts): preserve test passthrough args · openclaw/openclaw@e4332f7 fix(e2e): harden Windows plugin assertions fix(test): mount upgrade survivor helper · openclaw/openclaw@5f03154 fix(android): prevent stale chat during session switches fix(android): keep permission setup action visible · openclaw/openclaw@94bc18a style(android): sharpen voice mode surfaces · openclaw/openclaw@c452510 fix(android): hide internal chat content blocks · openclaw/openclaw@d86ed21 style(android): refine list surface spacing · openclaw/openclaw@955909c feat(android): add pair new gateway action · openclaw/openclaw@cc5eb97 Advance iMessage catchup cursor after live handling (#85475) · openclaw/openclaw@102555c fix(scripts): ignore forwarded arg separator · openclaw/openclaw@79ee70c fix(test): fail empty gateway startup samples · openclaw/openclaw@5a8ce6a fix(e2e): harden Windows kitchen sink assertions · openclaw/openclaw@87a2eba fix(e2e): harden Telegram credential paths on Windows · openclaw/openclaw@c643370 fix(android): align setup pairing scopes
fix: handle npm min-release-age in installers · openclaw/openclaw@316d97c
steipete · 2026-05-25 · via Recent Commits to openclaw:main

@@ -857,25 +857,27 @@ fix_npm_prefix_if_needed() {

857857

log "Configured npm prefix to ${target}"

858858

}

859859860-

expand_npm_config_path() {

861-

local path="$1"

862-

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

860+

resolve_npm_config_path() {

861+

local raw="$1"

862+

if [[ -z "$raw" || "$raw" == "null" || "$raw" == "undefined" ]]; then

863863

return 1

864864

fi

865-

case "$path" in

866-

"\${HOME}/"*) path="${HOME:-}/${path#\$\{HOME\}/}" ;;

867-

"\$HOME/"*) path="${HOME:-}/${path#\$HOME/}" ;;

868-

[~]/*) path="${HOME:-}/${path#\~/}" ;;

869-

esac

870-

printf '%s\n' "$path"

865+

if [[ "$raw" == \~/* && -n "${HOME:-}" ]]; then

866+

printf '%s\n' "${HOME}/${raw#"~/"}"

867+

return 0

868+

fi

869+

if [[ "$raw" == "\${HOME}/"* && -n "${HOME:-}" ]]; then

870+

printf '%s\n' "${HOME}/${raw#"\${HOME}/"}"

871+

return 0

872+

fi

873+

printf '%s\n' "$raw"

871874

}

872875873876

npm_config_file_has_key() {

874-

local file

875-

file="$(expand_npm_config_path "$1")" || return 1

877+

local file="$1"

876878

local key="$2"

877879

[[ -f "$file" ]] || return 1

878-

grep -E "^[[:space:]]*${key}[[:space:]]*=" "$file" >/dev/null 2>&1

880+

grep -Eiq "^[[:space:]]*${key}[[:space:]]*=" "$file"

879881

}

880882881883

npm_command_path() {

@@ -899,36 +901,39 @@ npm_builtin_config_path() {

899901

printf '%s\n' "${npm_root}/npmrc"

900902

}

901903902-

npm_raw_config_has_key() {

903-

local key="$1"

904-

local npm_cmd="${2:-npm}"

905-

local user_config="${NPM_CONFIG_USERCONFIG:-${npm_config_userconfig:-}}"

906-

local global_config="${NPM_CONFIG_GLOBALCONFIG:-${npm_config_globalconfig:-}}"

907-

local prefix="${NPM_CONFIG_PREFIX:-${npm_config_prefix:-}}"

908-909-

npm_config_file_has_key ".npmrc" "$key" && return 0

910-

if [[ -n "$user_config" ]]; then

911-

npm_config_file_has_key "$user_config" "$key" && return 0

904+

npm_config_has_raw_key() {

905+

local npm_cmd="$1"

906+

local key="$2"

907+

local raw=""

908+

local file=""

909+

local -a files=()

910+911+

raw="${NPM_CONFIG_USERCONFIG:-${npm_config_userconfig:-}}"

912+

if [[ -n "$raw" ]]; then

913+

file="$(resolve_npm_config_path "$raw" 2>/dev/null || true)"

914+

[[ -n "$file" ]] && files+=("$file")

912915

elif [[ -n "${HOME:-}" ]]; then

913-

npm_config_file_has_key "${HOME}/.npmrc" "$key" && return 0

914-

fi

915-

if [[ -n "$global_config" ]]; then

916-

npm_config_file_has_key "$global_config" "$key" && return 0

917-

else

918-

local resolved_global_config=""

919-

resolved_global_config="$(env -u NPM_CONFIG_BEFORE -u npm_config_before "$npm_cmd" config get globalconfig 2>/dev/null || true)"

920-

if [[ -n "$resolved_global_config" && "$resolved_global_config" != "null" && "$resolved_global_config" != "undefined" ]]; then

921-

npm_config_file_has_key "$resolved_global_config" "$key" && return 0

922-

fi

923-

fi

924-

if [[ -n "$prefix" ]]; then

925-

npm_config_file_has_key "${prefix}/etc/npmrc" "$key" && return 0

916+

files+=("${HOME}/.npmrc")

926917

fi

927-

local builtin_config=""

928-

builtin_config="$(npm_builtin_config_path "$npm_cmd" 2>/dev/null || true)"

929-

if [[ -n "$builtin_config" ]]; then

930-

npm_config_file_has_key "$builtin_config" "$key" && return 0

918+919+

raw="${NPM_CONFIG_GLOBALCONFIG:-${npm_config_globalconfig:-}}"

920+

if [[ -n "$raw" ]]; then

921+

file="$(resolve_npm_config_path "$raw" 2>/dev/null || true)"

922+

[[ -n "$file" ]] && files+=("$file")

931923

fi

924+925+

raw="$(env -u NPM_CONFIG_BEFORE -u npm_config_before -u NPM_CONFIG_MIN_RELEASE_AGE -u npm_config_min_release_age -u npm_config_min-release-age "$npm_cmd" config get globalconfig --global 2>/dev/null || true)"

926+

file="$(resolve_npm_config_path "$raw" 2>/dev/null || true)"

927+

[[ -n "$file" ]] && files+=("$file")

928+929+

file="$(npm_builtin_config_path "$npm_cmd" 2>/dev/null || true)"

930+

[[ -n "$file" ]] && files+=("$file")

931+932+

for file in "${files[@]}"; do

933+

if npm_config_file_has_key "$file" "$key"; then

934+

return 0

935+

fi

936+

done

932937

return 1

933938

}

934939

@@ -939,10 +944,12 @@ install_openclaw() {

939944

fi

940945

local freshness_flag="--min-release-age=0"

941946

local min_release_age=""

942-

min_release_age="$(env -u NPM_CONFIG_BEFORE -u npm_config_before "$(npm_bin)" config get min-release-age 2>/dev/null || true)"

943-

if ! npm_raw_config_has_key "min-release-age" "$(npm_bin)" && [[ -z "$min_release_age" || "$min_release_age" == "null" || "$min_release_age" == "undefined" ]]; then

947+

min_release_age="$(env -u NPM_CONFIG_BEFORE -u npm_config_before "$(npm_bin)" config get min-release-age --global 2>/dev/null || true)"

948+

if npm_config_has_raw_key "$(npm_bin)" "min-release-age"; then

949+

freshness_flag="--min-release-age=0"

950+

elif [[ -z "$min_release_age" || "$min_release_age" == "null" || "$min_release_age" == "undefined" ]]; then

944951

local before_value=""

945-

before_value="$(env -u NPM_CONFIG_MIN_RELEASE_AGE -u npm_config_min_release_age -u npm_config_min-release-age "$(npm_bin)" config get before 2>/dev/null || true)"

952+

before_value="$(env -u NPM_CONFIG_MIN_RELEASE_AGE -u npm_config_min_release_age -u npm_config_min-release-age "$(npm_bin)" config get before --global 2>/dev/null || true)"

946953

if [[ -n "$before_value" && "$before_value" != "null" && "$before_value" != "undefined" ]]; then

947954

freshness_flag="--before=$(date -u '+%Y-%m-%dT%H:%M:%S.000Z')"

948955

fi