mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:20:42 +00:00
fix(plugins): require declared runtime setup entries
This commit is contained in:
@@ -28,9 +28,12 @@ JavaScript when available:
|
||||
`extensions` and `setupEntry` remain valid source entries for workspace and git
|
||||
checkout development. `runtimeExtensions` and `runtimeSetupEntry` are preferred
|
||||
when OpenClaw loads an installed package and let npm packages avoid runtime
|
||||
TypeScript compilation. If an installed package only declares a TypeScript
|
||||
source entry, OpenClaw will use a matching built `dist/*.js` peer when one
|
||||
exists, then fall back to the TypeScript source.
|
||||
TypeScript compilation. Explicit runtime entries are required: `runtimeSetupEntry`
|
||||
requires `setupEntry`, and missing `runtimeExtensions` or `runtimeSetupEntry`
|
||||
artifacts fail install/discovery instead of silently falling back to source. If
|
||||
an installed package only declares a TypeScript source entry, OpenClaw will use a
|
||||
matching built `dist/*.js` peer when one exists, then fall back to the TypeScript
|
||||
source.
|
||||
|
||||
All entry paths must stay inside the plugin package directory. Runtime entries
|
||||
and inferred built JavaScript peers do not make an escaping `extensions` or
|
||||
|
||||
Reference in New Issue
Block a user