completions
abstract fun completions(request: TerminalCompletionRequest): Flow<List<TerminalCompletionCandidate>>
Returns a cold progressive stream of best-first rankings for request.
Each emission contains the globally reranked union of every source that has completed so far. Implementations must not mutate terminal state or perform UI work. Cancelling collection must cancel all source work.
Return
cold stream of ordered completion snapshots.
Parameters
request
command-line completion context.