mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:10:45 +00:00
refactor: simplify plugin dependency handling
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths. Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
This commit is contained in:
committed by
GitHub
parent
2e8e9cd6ca
commit
ed8f50f240
@@ -5,7 +5,7 @@ export const PLUGIN_PRERELEASE_REQUIRED_SURFACES = Object.freeze([
|
||||
"bundled-lifecycle",
|
||||
"external-plugins",
|
||||
"update-no-op",
|
||||
"channel-runtime-deps",
|
||||
"installed-plugin-deps",
|
||||
"doctor-fix",
|
||||
"config-round-trip",
|
||||
"gateway-bootstrap",
|
||||
@@ -29,11 +29,7 @@ const pluginPrereleaseDockerLanes = Object.freeze([
|
||||
},
|
||||
{
|
||||
lane: "update-channel-switch",
|
||||
surfaces: ["package-artifact", "channel-runtime-deps", "update-no-op"],
|
||||
},
|
||||
{
|
||||
lane: "bundled-channel-deps-compat",
|
||||
surfaces: ["package-artifact", "channel-runtime-deps", "gateway-bootstrap"],
|
||||
surfaces: ["package-artifact", "installed-plugin-deps", "update-no-op"],
|
||||
},
|
||||
{
|
||||
lane: "plugins-offline",
|
||||
|
||||
Reference in New Issue
Block a user