valueDomain
Creates a source for one host-owned dynamic value domain.
valuesProvider is called only when the resolved context expects domain. It may perform bounded suspending host work and must cooperate with cancellation. The provider receives the resolved semantic context and owns an independent input or visit budget. The shared source matches the complete snapshot before applying its final candidate limit.
Return
context-aware dynamic value completion source.
Parameters
command-spec value domain served by this source.
stable candidate-source id used by ranking feedback.
suspending bounded value snapshot loader.
optional canonical command/subcommand names to which this source is restricted. An empty set permits every matching value-domain position.
Throws
if domain is TerminalCompletionValueDomain.NONE or sourceId is blank.