mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
docs: explain bundled plugin npm override
This commit is contained in:
committed by
Peter Steinberger
parent
669bfdd9b0
commit
40fa750b4f
+10
-5
@@ -40,7 +40,9 @@ Before installing a plugin, make sure you have:
|
||||
```
|
||||
|
||||
ClawHub is the primary discovery surface for community plugins. During the
|
||||
launch cutover, ordinary bare package specs still install from npm. Use an
|
||||
launch cutover, ordinary bare package specs still install from npm unless
|
||||
they match an official plugin id. Raw `@openclaw/*` package specs that match
|
||||
bundled plugins use the bundled copy from the current OpenClaw build. Use an
|
||||
explicit prefix when you need one source.
|
||||
|
||||
</Step>
|
||||
@@ -126,10 +128,13 @@ Before installing a plugin, make sure you have:
|
||||
Bare package specs have special compatibility behavior. If the bare name matches
|
||||
a bundled plugin id, OpenClaw uses that bundled source. If it matches an
|
||||
official external plugin id, OpenClaw uses the official package catalog. Other
|
||||
ordinary bare package specs install through npm during the launch cutover. Use
|
||||
`clawhub:`, `npm:`, `git:`, or `npm-pack:` when you need deterministic source
|
||||
selection. See [`openclaw plugins`](/cli/plugins#install) for the full command
|
||||
contract.
|
||||
ordinary bare package specs install through npm during the launch cutover. Raw
|
||||
`@openclaw/*` package specs that match bundled plugins also resolve to the
|
||||
bundled copy before npm fallback. Use `npm:@openclaw/<plugin>@<version>` when
|
||||
you deliberately want the external npm package instead of the image-owned
|
||||
bundled copy. Use `clawhub:`, `npm:`, `git:`, or `npm-pack:` when you need
|
||||
deterministic source selection. See [`openclaw plugins`](/cli/plugins#install)
|
||||
for the full command contract.
|
||||
|
||||
### Configure plugin policy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user