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

推荐订阅源

Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
量子位
美团技术团队
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
月光博客
月光博客

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: scrub future plugin entries in Parallels update smok...
steipete · 2026-04-24 · via Recent Commits to openclaw:main

@@ -641,6 +641,35 @@ function Stop-OpenClawUpdateProcesses {

641641

}

642642

}

643643644+

function Remove-FuturePluginEntries {

645+

$configPath = Join-Path $env:USERPROFILE '.openclaw\openclaw.json'

646+

if (-not (Test-Path $configPath)) {

647+

return

648+

}

649+

try {

650+

$config = Get-Content $configPath -Raw | ConvertFrom-Json -AsHashtable

651+

} catch {

652+

return

653+

}

654+

$plugins = $config['plugins']

655+

if (-not ($plugins -is [hashtable])) {

656+

return

657+

}

658+

$entries = $plugins['entries']

659+

if ($entries -is [hashtable]) {

660+

foreach ($pluginId in @('feishu', 'whatsapp')) {

661+

if ($entries.ContainsKey($pluginId)) {

662+

$entries.Remove($pluginId)

663+

}

664+

}

665+

}

666+

$allow = $plugins['allow']

667+

if ($allow -is [array]) {

668+

$plugins['allow'] = @($allow | Where-Object { $_ -notin @('feishu', 'whatsapp') })

669+

}

670+

$config | ConvertTo-Json -Depth 100 | Set-Content -Path $configPath -Encoding UTF8

671+

}

672+644673

function Invoke-OpenClawUpdateWithTimeout {

645674

param(

646675

[Parameter(Mandatory = $true)][string]$OpenClawPath,

@@ -785,6 +814,7 @@ try {

785814

}

786815

Set-Item -Path ('Env:' + $ProviderKeyEnv) -Value $ProviderKey

787816

$openclaw = Join-Path $env:APPDATA 'npm\openclaw.cmd'

817+

Remove-FuturePluginEntries

788818

Stop-OpenClawGatewayProcesses

789819

Write-ProgressLog 'update.openclaw-update'

790820

Invoke-OpenClawUpdateWithTimeout -OpenClawPath $openclaw -UpdateTarget $UpdateTarget

@@ -1375,6 +1405,31 @@ if [ -z "\${$API_KEY_ENV:-}" ]; then

13751405

exit 1

13761406

fi

13771407

cd "\$HOME"

1408+

scrub_future_plugin_entries() {

1409+

/opt/homebrew/bin/python3 - <<'PY' || true

1410+

import json

1411+

from pathlib import Path

1412+1413+

config_path = Path.home() / ".openclaw" / "openclaw.json"

1414+

if not config_path.exists():

1415+

raise SystemExit(0)

1416+

try:

1417+

config = json.loads(config_path.read_text())

1418+

except Exception:

1419+

raise SystemExit(0)

1420+

plugins = config.get("plugins")

1421+

if not isinstance(plugins, dict):

1422+

raise SystemExit(0)

1423+

entries = plugins.get("entries")

1424+

if isinstance(entries, dict):

1425+

for plugin_id in ("feishu", "whatsapp"):

1426+

entries.pop(plugin_id, None)

1427+

allow = plugins.get("allow")

1428+

if isinstance(allow, list):

1429+

plugins["allow"] = [plugin_id for plugin_id in allow if plugin_id not in {"feishu", "whatsapp"}]

1430+

config_path.write_text(json.dumps(config, indent=2) + "\n")

1431+

PY

1432+

}

13781433

stop_openclaw_gateway_processes() {

13791434

/opt/homebrew/bin/openclaw gateway stop >/dev/null 2>&1 || true

13801435

/usr/bin/pkill -9 -f openclaw-gateway || true

@@ -1386,6 +1441,7 @@ stop_openclaw_gateway_processes() {

13861441

}

13871442

# Stop the pre-update gateway before replacing the package. Otherwise the old

13881443

# host can observe new plugin metadata mid-update and abort config validation.

1444+

scrub_future_plugin_entries

13891445

stop_openclaw_gateway_processes

13901446

/opt/homebrew/bin/openclaw update --tag "$update_target" --yes --json

13911447

# Same-guest npm upgrades can leave the old gateway process holding the old

@@ -1473,6 +1529,31 @@ run_linux_update() {

14731529

set -euo pipefail

14741530

export HOME=/root

14751531

cd "\$HOME"

1532+

scrub_future_plugin_entries() {

1533+

python3 - <<'PY' || true

1534+

import json

1535+

from pathlib import Path

1536+1537+

config_path = Path.home() / ".openclaw" / "openclaw.json"

1538+

if not config_path.exists():

1539+

raise SystemExit(0)

1540+

try:

1541+

config = json.loads(config_path.read_text())

1542+

except Exception:

1543+

raise SystemExit(0)

1544+

plugins = config.get("plugins")

1545+

if not isinstance(plugins, dict):

1546+

raise SystemExit(0)

1547+

entries = plugins.get("entries")

1548+

if isinstance(entries, dict):

1549+

for plugin_id in ("feishu", "whatsapp"):

1550+

entries.pop(plugin_id, None)

1551+

allow = plugins.get("allow")

1552+

if isinstance(allow, list):

1553+

plugins["allow"] = [plugin_id for plugin_id in allow if plugin_id not in {"feishu", "whatsapp"}]

1554+

config_path.write_text(json.dumps(config, indent=2) + "\n")

1555+

PY

1556+

}

14761557

stop_openclaw_gateway_processes() {

14771558

openclaw gateway stop >/dev/null 2>&1 || true

14781559

pkill -9 -f openclaw-gateway || true

@@ -1489,6 +1570,7 @@ stop_openclaw_gateway_processes() {

14891570

}

14901571

# Stop the pre-update manual gateway before replacing the package. Otherwise

14911572

# the old host can observe new plugin metadata mid-update and abort validation.

1573+

scrub_future_plugin_entries

14921574

stop_openclaw_gateway_processes

14931575

openclaw update --tag "$update_target" --yes --json

14941576

# The fresh Linux lane starts a manual gateway; stop the old process before