openclaw - 💡(How to fix) Fix [Bug]: openclaw plugins update --all downgrades manually-updated npm plugins to their originally-recorded install version [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#84256Fetched 2026-05-20 03:42:05
View on GitHub
Comments
1
Participants
2
Timeline
9
Reactions
1
Timeline (top)
labeled ×6cross-referenced ×2commented ×1

openclaw plugins update --all uses the internally-recorded install version from the plugin index instead of fetching the latest from npm. This actively downgrades plugins that have been manually updated via npm.

Root Cause

openclaw plugins update --all uses the internally-recorded install version from the plugin index instead of fetching the latest from npm. This actively downgrades plugins that have been manually updated via npm.

Code Example

Installing @openclaw/codex@2026.5.12 into /home/felix/.openclaw/npm...
Updated codex: 2026.5.18 -> 2026.5.12.
RAW_BUFFERClick to expand / collapse

Description

openclaw plugins update --all uses the internally-recorded install version from the plugin index instead of fetching the latest from npm. This actively downgrades plugins that have been manually updated via npm.

Steps to reproduce

  1. Install Codex plugin — OpenClaw records version 2026.5.12 in its plugin index
  2. Manually update it to latest: npm install --prefix ~/.openclaw/npm @openclaw/codex@latest — now on 2026.5.18
  3. Run openclaw plugins update --all
  4. Codex is silently downgraded back to 2026.5.12

Actual output

Installing @openclaw/[email protected] into /home/felix/.openclaw/npm...
Updated codex: 2026.5.18 -> 2026.5.12.

Expected behavior

openclaw plugins update --all should resolve the latest npm version and update to it, not reinstall the originally-recorded install version.

Environment

  • OpenClaw: 2026.5.18 (50a2481)
  • Node: v24.2.0
  • OS: Ubuntu Linux

Related

Related to #40912 (redundant reinstall on already up-to-date plugins) but this is a more severe variant — it causes an actual version downgrade, not just a wasteful no-op reinstall.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

openclaw plugins update --all should resolve the latest npm version and update to it, not reinstall the originally-recorded install version.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: openclaw plugins update --all downgrades manually-updated npm plugins to their originally-recorded install version [1 comments, 2 participants]