Optional ReadonlyactionWhat the user can do about the current state, where a command settles it.
Optional ReadonlydiscoveredWhat the provider reported about the models it discovered, keyed by id in DiscoveredModel.id. The registry stays the source of truth for which models are registered; this only carries the extra metadata (label, description) for display.
Optional ReadonlyfromWhether the currently registered models came from a cached snapshot rather than a live fetch.
ReadonlylabelHuman-readable provider label, e.g. Anthropic.
Optional ReadonlylastTimestamp (ms since epoch) of the last successful fetch, if any.
Optional ReadonlymessageOptional human-readable detail (error message, hint).
Optional ReadonlymodelPrefix used for this provider's registered model ids (e.g. openai while the provider id is
openAiOfficial). Defaults to providerId when omitted.
ReadonlyproviderProvider id, e.g. anthropic. Matches the provider node in the Models configuration category.
ReadonlystateOptional ReadonlystateOverrides the badge label the state would otherwise carry, for a provider the generic wording does not fit: what GitHub Copilot lacks when it has no credential is a sign-in, not an API key.
Snapshot of a provider's model-discovery state, as observed on the frontend.