#7106: fix: openclaw update includes external npm-installed plugins
cli
Cluster:
Update Handling Fixes
**AI Assisted**
**Tested**
## Summary
`openclaw update` now properly updates externally installed npm plugins.
## Problem
Running `openclaw update` would not update plugins installed via `openclaw plugins install <npm-package>`. Only bundled plugins were being updated.
**Steps to reproduce:**
1. Install an external npm plugin: `openclaw plugins install openclaw-penfield`
2. A new version is published to npm
3. Run `openclaw update`
4. Plugin is NOT updated (stays on old version)
## Root Cause
`syncPluginsForUpdateChannel()` only processes bundled plugins. When `updateNpmInstalledPlugins()` was called without explicit plugin
IDs, it iterated over the post-sync config which doesn't include external npm plugins.
## Solution
Capture npm plugin IDs from config BEFORE sync runs, then pass them explicitly to `updateNpmInstalledPlugins()`.
## Tests
- [x] Tested with openclaw-penfield plugin installed from npm
- [x] Verified `openclaw update` now attempts to fetch new version
- [ ] Existing unit tests pass
Most Similar PRs
#18961: fix: detect pnpm package manager in openclaw update
by norci · 2026-02-17
67.6%
#7090: fix: plugin install uses manifest ID for folder name (#2796)
by dial481 · 2026-02-02
67.2%
#12849: fix(plugins): fallback bundled channel specs when npm install retur...
by vincentkoc · 2026-02-09
66.3%
#17237: fix(update): guard post-install imports after npm global update
by tdjackey · 2026-02-15
65.2%
#19941: fix(nostr): move openclaw from devDependencies to peerDependencies
by AustinEral · 2026-02-18
62.8%
#22406: Fix update detection for Companion App npm-prefix installs
by graysurf · 2026-02-21
62.0%
#9196: Fix: Use local plugins for unpublished npm packages
by vishaltandale00 · 2026-02-05
62.0%
#19549: docs(plugins): add openclaw-linear to community plugins
by stepandel · 2026-02-17
61.9%
#17912: fix: configure git to use HTTPS instead of SSH for GitHub URLs
by MisterGuy420 · 2026-02-16
61.2%
#20585: fix: pre-flight ownership check before global update
by mwfj · 2026-02-19
60.8%