test: cover staged bundled facade deps

This commit is contained in:
Peter Steinberger
2026-04-28 03:52:08 +01:00
parent 129b996a4e
commit 518d568de5
2 changed files with 92 additions and 44 deletions

View File

@@ -342,6 +342,9 @@ Facade-loaded bundled plugin public surfaces (`api.ts`, `runtime-api.ts`,
`index.ts`, `setup-entry.ts`, and similar public entry files) prefer the
active runtime config snapshot when OpenClaw is already running. If no runtime
snapshot exists yet, they fall back to the resolved config file on disk.
Packaged bundled plugin facades should be loaded through the OpenClaw SDK
facade loaders; direct imports from `dist/extensions/...` bypass staged runtime
dependency mirrors that packaged installs use for plugin-owned dependencies.
Provider plugins can expose a narrow plugin-local contract barrel when a
helper is intentionally provider-specific and does not belong in a generic SDK