fix: warn on low disk before runtime dependency staging

This commit is contained in:
Peter Steinberger
2026-04-26 07:03:15 +01:00
parent e633f43c53
commit b979f2964c
10 changed files with 288 additions and 0 deletions

View File

@@ -79,6 +79,12 @@ ignores user npm prefix/global settings, so global-install npm config does not
redirect bundled plugin dependencies into `~/node_modules` or the global package
tree.
Before package updates and bundled runtime-dependency repairs, OpenClaw tries a
best-effort disk-space check for the target volume. Low space produces a warning
with the checked path, but does not block the update because filesystem quotas,
snapshots, and network volumes can change after the check. The actual npm
install, copy, and post-install verification remain authoritative.
### Bundled plugin runtime dependencies
Packaged installs keep bundled plugin runtime dependencies out of the read-only