fix(plugins): preserve package deps for runtime mirrors

This commit is contained in:
Peter Steinberger
2026-04-25 12:50:49 +01:00
parent 63241bf1e0
commit d2ab6b4fd5
6 changed files with 176 additions and 41 deletions

View File

@@ -21,11 +21,11 @@ describe("parallels npm update smoke", () => {
expect(script).toContain("delete entries.whatsapp");
expect(script).toContain("Remove-FuturePluginEntries\n Stop-OpenClawGatewayProcesses");
expect(script).toContain("scrub_future_plugin_entries\nstop_openclaw_gateway_processes");
expect(script).not.toContain("$env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'\n & $Path update");
expect(script).not.toContain(
expect(script).toContain("$env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'");
expect(script).toContain(
"OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw update",
);
expect(script).not.toContain("OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update");
expect(script).toContain("OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update");
expect(script).toContain(
"OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw gateway stop",
);