CompletionProvider
Defined in: packages/core/src/kernel/types.ts:917
Narrow completion interface — matches ShellCompleter and any future provider.
Remarks
Section titled “Remarks”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.).
Methods
Section titled “Methods”complete()
Section titled “complete()”complete(
partial,line,pos):Promise<string[]>
Defined in: packages/core/src/kernel/types.ts:918
Parameters
Section titled “Parameters”partial
Section titled “partial”string
string
number
Returns
Section titled “Returns”Promise<string[]>