Skip to content

CompletionProvider

Defined in: packages/core/src/kernel/types.ts:917

Narrow completion interface — matches ShellCompleter and any future provider.

partial is the current token under the cursor; line is the full input line; pos is the cursor column. Returned completions are bare strings — the caller is responsible for presentation (single-choice auto-fill, multi-choice menu, etc.).

TtyReadable

complete(partial, line, pos): Promise<string[]>

Defined in: packages/core/src/kernel/types.ts:918

string

string

number

Promise<string[]>