mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:31:00 +00:00
feat(plugins): warn on ignored setup runtime (#71253)
* feat(plugins): warn on ignored setup runtime * fix(plugins): avoid fallback setup runtime diagnostics * refactor(plugins): clarify setup runtime lookup
This commit is contained in:
@@ -337,9 +337,11 @@ on `setup.providers[].envVars`.
|
||||
|
||||
Set `requiresRuntime: false` only when those descriptors are sufficient for the
|
||||
setup surface. OpenClaw treats explicit `false` as a descriptor-only contract
|
||||
and will not execute `setup-api` for setup lookup. Omitted `requiresRuntime`
|
||||
keeps legacy fallback behavior so existing plugins that added descriptors
|
||||
without the flag do not break.
|
||||
and will not execute `setup-api` or `openclaw.setupEntry` for setup lookup. If
|
||||
a descriptor-only plugin still ships one of those setup runtime entries,
|
||||
OpenClaw reports an additive diagnostic and continues ignoring it. Omitted
|
||||
`requiresRuntime` keeps legacy fallback behavior so existing plugins that added
|
||||
descriptors without the flag do not break.
|
||||
|
||||
Because setup lookup can execute plugin-owned `setup-api` code, normalized
|
||||
`setup.providers[].id` and `setup.cliBackends[]` values must stay unique across
|
||||
|
||||
Reference in New Issue
Block a user