Skip to content

[Bug]: 2026.5.3-1 bundled package broken — missing install.runtime-*.js + incorrect plugin API version #77293

Closed

Description

@Lunareith

Bug Description

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

  1. Install OpenClaw 2026.5.3-1 via npm install -g openclaw
  2. Run openclaw plugins update qqbot --force
  3. 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:

Suggested Fix

  1. Ensure install.runtime-*.js is included in the npm package dist/ directory
  2. Either make plugin API version matching semver-compatible for patch suffixes, or ensure 2026.5.3-1 exposes 2026.5.3 as its plugin API version

cc @openclaw

Activity

  1. clawsweeper commented on May 4, 2026

    @clawsweeper
    Contributor

    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:

    Likely related people:

    • 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)
    • p3nchan: PR fix(plugins): treat CalVer correction versions as compatible with plugin API ranges #77450 is the open closing implementation for this issue and directly edits the plugin API compatibility comparison and regression tests. (role: open fix PR author; confidence: medium; commits: 83cac0fca053, 8c2d8ce5ef54; files: src/infra/clawhub.ts, src/infra/clawhub.test.ts, src/plugins/clawhub.test.ts)

    Remaining risk / open question:

    • 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.

  2. self-assigned this
    on May 4, 2026
  3. added a commit that references this issue on May 4, 2026
    c07026d
  4. added a commit that references this issue on May 4, 2026
    1c52447
  5. added a commit that references this issue on May 6, 2026
    e2d8143
  6. locked as resolved and limited conversation to collaborators on May 7, 2026
  7. added a commit that references this issue on May 24, 2026
    14da28c
  8. added a commit that references this issue on Jun 2, 2026
    aa5570c
  9. added a commit that references this issue on Jun 10, 2026
    6c39778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions