TerminalCompletionCandidate
Immutable completion candidate returned by TerminalCompletionEngine.
Throws
if text/source fields are empty, replacement offsets do not form a nonnegative ordered range, or matchedRanges do not address displayText.
Constructors
Properties
primary text shown in suggestion UI.
optional provider-owned runtime token for correlating feedback with a native provider and item. The engine does not interpret it for ranking or outcome equivalence. Fusion preserves the token of the chosen presentation candidate, and copy preserves its reference by default.
semantic candidate category.
immutable ordered UTF-16 intervals relative to displayText used by UI components to highlight matching fragments.
exclusive UTF-16 replacement end offset in the original request command line.
inclusive UTF-16 replacement start offset in the original request command line.
text to insert into replacementStartOffset, exclusive replacementEndOffset.
dynamic value domain for argument candidates supplied by host-owned providers.