docs: fix onboarding docs formatting · openclaw/openclaw@f83e424
vincentkoc
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -108,6 +108,7 @@ bun add -g openclaw@latest
|
108 | 108 | OpenClaw treats packaged global installs as read-only at runtime, even when the global package directory is writable by the current user. Bundled plugin runtime dependencies are staged into a writable runtime directory instead of mutating the package tree. This keeps `openclaw update` from racing with a running gateway or local agent that is repairing plugin dependencies during the same install. |
109 | 109 | |
110 | 110 | Some Linux npm setups install global packages under root-owned directories such as `/usr/lib/node_modules/openclaw`. OpenClaw supports that layout through the same external staging path. |
| 111 | + |
111 | 112 | </Accordion> |
112 | 113 | <Accordion title="Hardened systemd units"> |
113 | 114 | Set a writable stage directory that is included in `ReadWritePaths`: |
@@ -118,6 +119,7 @@ bun add -g openclaw@latest
|
118 | 119 | ``` |
119 | 120 | |
120 | 121 | If `OPENCLAW_PLUGIN_STAGE_DIR` is not set, OpenClaw uses `$STATE_DIRECTORY` when systemd provides it, then falls back to `~/.openclaw/plugin-runtime-deps`. The repair step treats that stage as an OpenClaw-owned local package root and ignores user npm prefix and global settings, so global-install npm config does not redirect bundled plugin dependencies into `~/node_modules` or the global package tree. |
| 122 | + |
121 | 123 | </Accordion> |
122 | 124 | <Accordion title="Disk-space preflight"> |
123 | 125 | 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. |
@@ -126,6 +128,7 @@ bun add -g openclaw@latest
|
126 | 128 | Packaged installs keep bundled plugin runtime dependencies out of the read-only package tree. On startup and during `openclaw doctor --fix`, OpenClaw repairs runtime dependencies only for bundled plugins that are active in config, active through legacy channel config, or enabled by their bundled manifest default. Persisted channel auth state alone does not trigger Gateway startup runtime-dependency repair. |
127 | 129 | |
128 | 130 | Explicit disablement wins. A disabled plugin or channel does not get its runtime dependencies repaired just because it exists in the package. External plugins and custom load paths still use `openclaw plugins install` or `openclaw plugins update`. |
| 131 | + |
129 | 132 | </Accordion> |
130 | 133 | </AccordionGroup> |
131 | 134 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。