mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:20:42 +00:00
fix(plugins): follow beta channel for plugin updates
This commit is contained in:
@@ -322,6 +322,10 @@ Updates apply to tracked plugin installs in the managed plugin index and tracked
|
||||
|
||||
Passing the npm package name without a version or tag also resolves back to the tracked plugin record. Use this when a plugin was pinned to an exact version and you want to move it back to the registry's default release line.
|
||||
|
||||
</Accordion>
|
||||
<Accordion title="Beta channel updates">
|
||||
`openclaw plugins update` reuses the tracked plugin spec unless you pass a new spec. `openclaw update` additionally knows the active OpenClaw update channel: on the beta channel, default-line npm and ClawHub plugin records try `@beta` first, then fall back to the recorded default/latest spec if no plugin beta release exists. Exact versions and explicit tags stay pinned to that selector.
|
||||
|
||||
</Accordion>
|
||||
<Accordion title="Version checks and integrity drift">
|
||||
Before a live npm update, OpenClaw checks the installed package version against the npm registry metadata. If the installed version and recorded artifact identity already match the resolved target, the update is skipped without downloading, reinstalling, or rewriting `openclaw.json`.
|
||||
|
||||
@@ -144,10 +144,15 @@ it manually.
|
||||
`openclaw doctor` runs as the final safe-update check.
|
||||
</Step>
|
||||
<Step title="Sync plugins">
|
||||
Syncs plugins to the active channel. Dev uses bundled plugins; stable and beta use npm. Updates npm-installed plugins.
|
||||
Syncs plugins to the active channel. Dev uses bundled plugins; stable and beta use npm. Updates tracked plugin installs.
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
On the beta update channel, tracked npm and ClawHub plugin installs that follow
|
||||
the default/latest line try a plugin `@beta` release first. If the plugin has no
|
||||
beta release, OpenClaw falls back to the recorded default/latest spec. Exact
|
||||
versions and explicit tags are not rewritten.
|
||||
|
||||
<Warning>
|
||||
If an exact pinned npm plugin update resolves to an artifact whose integrity differs from the stored install record, `openclaw update` aborts that plugin artifact update instead of installing it. Reinstall or update the plugin explicitly only after verifying that you trust the new artifact.
|
||||
</Warning>
|
||||
|
||||
@@ -89,6 +89,11 @@ openclaw plugins update @scope/openclaw-plugin
|
||||
The second command moves a plugin back to the registry's default release line
|
||||
when it was previously pinned to an exact version or tag.
|
||||
|
||||
When `openclaw update` runs on the beta channel, default-line npm and ClawHub
|
||||
plugin records try the matching plugin `@beta` release first. If that beta
|
||||
release does not exist, OpenClaw falls back to the recorded default/latest spec.
|
||||
Exact versions and explicit tags such as `@rc` or `@beta` are preserved.
|
||||
|
||||
## Uninstall plugins
|
||||
|
||||
```bash
|
||||
|
||||
@@ -529,6 +529,9 @@ Passing the package name without a version moves an exact pinned install back to
|
||||
the registry's default release line. If the installed npm plugin already matches
|
||||
the resolved version and recorded artifact identity, OpenClaw skips the update
|
||||
without downloading, reinstalling, or rewriting config.
|
||||
When `openclaw update` runs on the beta channel, default-line npm and ClawHub
|
||||
plugin records try `@beta` first and fall back to default/latest when no plugin
|
||||
beta release exists. Exact versions and explicit tags stay pinned.
|
||||
|
||||
`--pin` is npm-only. It is not supported with `--marketplace`, because
|
||||
marketplace installs persist marketplace source metadata instead of an npm spec.
|
||||
|
||||
Reference in New Issue
Block a user