valueDomainCandidates
fun valueDomainCandidates(request: TerminalCompletionRequest, context: TerminalCompletionContext, domain: TerminalCompletionValueDomain, sourceId: String, values: List<TerminalCompletionDomainValue>, limit: Int): List<TerminalCompletionCandidate>
Projects one already-loaded dynamic-value group into completion candidates.
This is intended for aggregate host sources that load several provider groups in one host operation. It applies the same prefix matching, shell quoting, replacement ranges, and local scoring as valueDomain without allocating nested source adapters per request.
Return
projected candidates, or an empty list for an ineligible context.
Parameters
request
immutable completion request supplied to the aggregate source.
context
engine-resolved context supplied to the aggregate source.
domain
dynamic value domain represented by values.
sourceId
stable provider id attached to projected candidates.
values
bounded values already loaded by the aggregate source.
limit
maximum candidates returned for this group.