





























@@ -679,6 +679,7 @@ function Invoke-OpenClawUpdateWithTimeout {
679679680680 $updateJob = Start-Job -ScriptBlock {
681681 param([string]$Path, [string]$Target)
682+ $env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'
682683 $output = & $Path update --tag $Target --yes --json *>&1
683684 [pscustomobject]@{
684685 ExitCode = $LASTEXITCODE
@@ -1433,7 +1434,7 @@ fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + "\\n");
14331434JS
14341435}
14351436stop_openclaw_gateway_processes() {
1436- /opt/homebrew/bin/openclaw gateway stop >/dev/null 2>&1 || true
1437+ OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw gateway stop >/dev/null 2>&1 || true
14371438 /usr/bin/pkill -9 -f openclaw-gateway || true
14381439 /usr/bin/pkill -9 -f 'openclaw gateway run' || true
14391440 /usr/bin/pkill -9 -f 'openclaw.mjs gateway' || true
@@ -1445,7 +1446,7 @@ stop_openclaw_gateway_processes() {
14451446# host can observe new plugin metadata mid-update and abort config validation.
14461447scrub_future_plugin_entries
14471448stop_openclaw_gateway_processes
1448-/opt/homebrew/bin/openclaw update --tag "$update_target" --yes --json
1449+OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw update --tag "$update_target" --yes --json
14491450# Same-guest npm upgrades can leave the old gateway process holding the old
14501451# bundled plugin host version. Stop it before post-update config commands.
14511452stop_openclaw_gateway_processes
@@ -1559,7 +1560,7 @@ fs.writeFileSync(configPath, JSON.stringify(config, null, 2) + "\\n");
15591560JS
15601561}
15611562stop_openclaw_gateway_processes() {
1562- openclaw gateway stop >/dev/null 2>&1 || true
1563+ OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw gateway stop >/dev/null 2>&1 || true
15631564 pkill -9 -f openclaw-gateway || true
15641565 pkill -9 -f 'openclaw gateway run' || true
15651566 pkill -9 -f 'openclaw.mjs gateway' || true
@@ -1576,7 +1577,7 @@ stop_openclaw_gateway_processes() {
15761577# the old host can observe new plugin metadata mid-update and abort validation.
15771578scrub_future_plugin_entries
15781579stop_openclaw_gateway_processes
1579-openclaw update --tag "$update_target" --yes --json
1580+OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update --tag "$update_target" --yes --json
15801581# The fresh Linux lane starts a manual gateway; stop the old process before
15811582# post-update config validation sees mixed old-host/new-plugin metadata.
15821583stop_openclaw_gateway_processes
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。