You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: 2026.5.3-1 bundled package broken — missing install.runtime-*.js + incorrect plugin API version #77293
OpenClaw 2026.5.3-1 has two packaging issues that completely break plugin installation/update flows.
Issue 1: Missing runtime dependency file
Failed to update qqbot: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/local/lib/node_modules/openclaw/dist/install.runtime-Xom5hOHq.js' imported from /usr/local/lib/node_modules/openclaw/dist/install-C_GuuNz6.js
The install.runtime-*.js file is missing from the npm package dist/ directory.
Issue 2: Plugin API version mismatch
Failed to update qqbot: Plugin @openclaw/qqbot requires plugin API >=2026.5.3, but this OpenClaw runtime exposes 2026.5.3-1.
The runtime exposes 2026.5.3-1 as its plugin API version, but plugins (including stock/official ones) require >=2026.5.3. The -1 suffix appears to be treated as incompatible, making it impossible to update any plugin.
Environment
OpenClaw version: 2026.5.3-1
OS: Ubuntu 24.04 (Linux 6.8.0-107-generic)
Node.js: v24.15.0
Install method: npm global
Steps to Reproduce
Install OpenClaw 2026.5.3-1 via npm install -g openclaw
Run openclaw plugins update qqbot --force
Observe both errors above
Impact
No plugin updates or installations possible
Bundled/official plugins also affected
Effectively blocks all plugin management
Related Issues
This is a recurrence of previous npm packaging regressions:
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve.
Summary
Keep open: current main still routes correction host versions such as 2026.5.3-1 through generic semver plugin API range checks, and an open closing PR already targets the remaining compatibility bug.
Reproducibility: yes. for the plugin API mismatch by source inspection: a 2026.5.3-1 compatibility host version reaches satisfiesPluginApiRange and is compared as a prerelease below 2026.5.3. The missing runtime chunk half is artifact-specific and was not live-reproduced here.
Next step
An open PR already references and implements the narrow remaining fix, so a duplicate ClawSweeper repair lane should not be queued.
Review details
Best possible solution:
Review and land PR #77450 or an equivalent narrow fix that normalizes only stable CalVer correction host versions for plugin API range checks while keeping dist inventory validation as the package artifact guardrail.
Do we have a high-confidence way to reproduce the issue?
Yes for the plugin API mismatch by source inspection: a 2026.5.3-1 compatibility host version reaches satisfiesPluginApiRange and is compared as a prerelease below 2026.5.3. The missing runtime chunk half is artifact-specific and was not live-reproduced here.
Is this the best way to solve the issue?
Yes, the open PR direction is the narrow maintainable fix: normalize stable correction versions in the plugin API compatibility path without changing the visible runtime version or prerelease rejection semantics.
What I checked:
Plugin API gate still rejects through range helper: ClawHub install validation fails when satisfiesPluginApiRange(runtimeVersion, compatibility.pluginApiRange) is false, using the runtime version in the user-facing error. (src/plugins/clawhub.ts:989, 8b2bf7b2e9fd)
Plugin API helper still delegates to generic semver:satisfiesPluginApiRange directly calls satisfiesSemverRange(pluginApiVersion, pluginApiRange) with no correction-version normalization. (src/infra/clawhub.ts:1042, 8b2bf7b2e9fd)
Generic comparator treats numeric suffixes as prereleases: The parser records -1 as prerelease data, and the prerelease comparator sorts a prerelease below the same base stable version, so 2026.5.3-1 compares below 2026.5.3. (src/infra/semver-compare.ts:29, 8b2bf7b2e9fd)
Docs define correction versions as stable: Plugin docs explicitly say OpenClaw date-stamped correction versions such as 2026.5.3-1 are stable releases for plugin install/update selection. Public docs: docs/cli/plugins.md. (docs/cli/plugins.md:137, 8b2bf7b2e9fd)
vincentkoc: The current changelog credits @vincentkoc for recent stable-correction plugin install/update fixes, and the issue timeline shows @vincentkoc was mentioned/subscribed for this report. (role: recent plugin install/update correction-version maintainer; confidence: medium; commits: 5efbb3078a15; files: CHANGELOG.md, src/plugins/update.test.ts, src/plugins/install.npm-spec.test.ts)
steipete: Local commit metadata ties Peter Steinberger to the earlier ClawHub runtime-version plugin API compatibility fix and the 2026.5.4 release preparation path adjacent to this regression. (role: release and ClawHub compatibility maintainer; confidence: medium; commits: 5b4fd6bf31d8, 539766727278, 06d46f7cf638; files: src/plugins/clawhub.ts, src/version.ts, package.json)
The missing install.runtime-* artifact half was not revalidated live in this read-only pass; current source has tarball inventory/import-closure guardrails, but the durable remaining source bug is the plugin API comparison.
Codex review notes: model gpt-5.5, reasoning high; reviewed against 8b2bf7b2e9fd.
Activity
clawsweeper commentedon May 4, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve.
Summary
Keep open: current main still routes correction host versions such as
2026.5.3-1through generic semver plugin API range checks, and an open closing PR already targets the remaining compatibility bug.Reproducibility: yes. for the plugin API mismatch by source inspection: a
2026.5.3-1compatibility host version reachessatisfiesPluginApiRangeand is compared as a prerelease below2026.5.3. The missing runtime chunk half is artifact-specific and was not live-reproduced here.Next step
An open PR already references and implements the narrow remaining fix, so a duplicate ClawSweeper repair lane should not be queued.
Review details
Best possible solution:
Review and land PR #77450 or an equivalent narrow fix that normalizes only stable CalVer correction host versions for plugin API range checks while keeping dist inventory validation as the package artifact guardrail.
Do we have a high-confidence way to reproduce the issue?
Yes for the plugin API mismatch by source inspection: a
2026.5.3-1compatibility host version reachessatisfiesPluginApiRangeand is compared as a prerelease below2026.5.3. The missing runtime chunk half is artifact-specific and was not live-reproduced here.Is this the best way to solve the issue?
Yes, the open PR direction is the narrow maintainable fix: normalize stable correction versions in the plugin API compatibility path without changing the visible runtime version or prerelease rejection semantics.
What I checked:
satisfiesPluginApiRange(runtimeVersion, compatibility.pluginApiRange)is false, using the runtime version in the user-facing error. (src/plugins/clawhub.ts:989, 8b2bf7b2e9fd)satisfiesPluginApiRangedirectly callssatisfiesSemverRange(pluginApiVersion, pluginApiRange)with no correction-version normalization. (src/infra/clawhub.ts:1042, 8b2bf7b2e9fd)-1as prerelease data, and the prerelease comparator sorts a prerelease below the same base stable version, so2026.5.3-1compares below2026.5.3. (src/infra/semver-compare.ts:29, 8b2bf7b2e9fd)2026.5.3-1are stable releases for plugin install/update selection. Public docs:docs/cli/plugins.md. (docs/cli/plugins.md:137, 8b2bf7b2e9fd)dist/postinstall-inventory.json, verifies inventory entries exist, expands dist import closure, and reports omitted imported dist files, which is the right guardrail for missing hashed runtime chunks. (scripts/check-openclaw-package-tarball.mjs:200, 8b2bf7b2e9fd)Fixes this issue, and adds correction-version normalization plus tests for this plugin API compatibility path. (83cac0fca053)Likely related people:
CHANGELOG.md,src/plugins/update.test.ts,src/plugins/install.npm-spec.test.ts)src/plugins/clawhub.ts,src/version.ts,package.json)src/infra/clawhub.ts,src/infra/clawhub.test.ts,src/plugins/clawhub.test.ts)Remaining risk / open question:
install.runtime-*artifact half was not revalidated live in this read-only pass; current source has tarball inventory/import-closure guardrails, but the durable remaining source bug is the plugin API comparison.Codex review notes: model gpt-5.5, reasoning high; reviewed against 8b2bf7b2e9fd.
fix(plugins): accept CalVer correction plugin API hosts
fix(plugins): treat CalVer correction versions as compatible with plu…
fix(plugins): treat CalVer correction versions as compatible with plu…
fix(plugins): treat CalVer correction versions as compatible with plu…
fix(plugins): treat CalVer correction versions as compatible with plu…
fix(plugins): treat CalVer correction versions as compatible with plu…