fix(providers): keep setup flow on cold metadata

This commit is contained in:
Vincent Koc
2026-04-25 22:46:43 -07:00
parent fd35ba2cad
commit 194818960c
5 changed files with 95 additions and 136 deletions

View File

@@ -72,8 +72,8 @@ or fallback behavior without changing runtime loading semantics.
Setup discovery now prefers descriptor-owned ids such as `setup.providers` and
`setup.cliBackends` to narrow candidate plugins before it falls back to
`setup-api` for plugins that still need setup-time runtime hooks. Provider
setup flow uses manifest `providerAuthChoices` first, then falls back to
runtime wizard choices and install-catalog choices for compatibility. Explicit
setup lists use manifest `providerAuthChoices`, descriptor-derived setup
choices, and install-catalog metadata without loading provider runtime. Explicit
`setup.requiresRuntime: false` is a descriptor-only cutoff; omitted
`requiresRuntime` keeps the legacy setup-api fallback for compatibility. If more
than one discovered plugin claims the same normalized setup provider or CLI