mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:10:43 +00:00
feat(plugins): report setup descriptor drift (#71194)
This commit is contained in:
@@ -76,7 +76,9 @@ Setup discovery now prefers descriptor-owned ids such as `setup.providers` and
|
||||
`requiresRuntime` keeps the legacy setup-api fallback for compatibility. If more
|
||||
than one discovered plugin claims the same normalized setup provider or CLI
|
||||
backend id, setup lookup refuses the ambiguous owner instead of relying on
|
||||
discovery order.
|
||||
discovery order. When setup runtime does execute, registry diagnostics report
|
||||
drift between `setup.providers` / `setup.cliBackends` and the providers or CLI
|
||||
backends registered by setup-api without blocking legacy plugins.
|
||||
|
||||
### What the loader caches
|
||||
|
||||
|
||||
@@ -338,6 +338,11 @@ Because setup lookup can execute plugin-owned `setup-api` code, normalized
|
||||
discovered plugins. Ambiguous ownership fails closed instead of picking a
|
||||
winner from discovery order.
|
||||
|
||||
When setup runtime does execute, setup registry diagnostics report descriptor
|
||||
drift if `setup-api` registers a provider or CLI backend that the manifest
|
||||
descriptors do not declare, or if a descriptor has no matching runtime
|
||||
registration. These diagnostics are additive and do not reject legacy plugins.
|
||||
|
||||
### setup.providers reference
|
||||
|
||||
| Field | Required | Type | What it means |
|
||||
|
||||
Reference in New Issue
Block a user