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
Copy file name to clipboardExpand all lines: docs/cli/update.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,9 @@ openclaw --update
38
38
-`--tag <dist-tag|version|spec>`: override the package target for this update only. For package installs, `main` maps to `github:openclaw/openclaw#main`.
39
39
-`--dry-run`: preview planned update actions (channel/tag/target/restart flow) without writing config, installing, syncing plugins, or restarting.
40
40
-`--json`: print machine-readable `UpdateRunResult` JSON, including
41
-
`postUpdate.plugins.integrityDrifts` when npm plugin artifact drift is
42
-
detected during post-update plugin sync.
41
+
`postUpdate.plugins.warnings` when corrupt or unloadable managed plugins need
42
+
repair after the core update succeeds, and `postUpdate.plugins.integrityDrifts`
43
+
when npm plugin artifact drift is detected during post-update plugin sync.
43
44
-`--timeout <seconds>`: per-step timeout (default is 1800s).
44
45
-`--yes`: skip confirmation prompts (for example downgrade confirmation).
45
46
@@ -177,7 +178,7 @@ If an exact pinned npm plugin update resolves to an artifact whose integrity dif
177
178
</Warning>
178
179
179
180
<Note>
180
-
Post-update plugin sync failures fail the update result and stop restart follow-up work. Fix the plugin install or update error, then rerun `openclaw update`.
181
+
Post-update plugin sync failures that are scoped to a managed plugin are reported as warnings after the core update succeeds. The JSON result keeps the top-level update `status: "ok"`and reports `postUpdate.plugins.status: "warning"` with `openclaw doctor --fix` and `openclaw plugins inspect <id> --runtime --json` guidance. Unexpected updater or sync exceptions still fail the update result. Fix the plugin install or update error, then rerun`openclaw doctor --fix` or`openclaw update`.
181
182
182
183
When the updated Gateway starts, plugin loading is verify-only: startup does not run package managers or mutate dependency trees. Package-manager `update.run` restarts bypass the normal idle deferral and restart cooldown after the package tree has been swapped, so the old process cannot keep lazy-loading removed chunks.
0 commit comments