Interface: SelectionContribution
Defined in: packages/aiui-vscode/src/contribution.ts:25
A code selection contributed to the session's turn — the payload published on SESSION_CONTRIBUTION_TOPIC.
Properties
kind
kind:
"selection"
Defined in: packages/aiui-vscode/src/contribution.ts:26
lines?
optionallines?:number
Defined in: packages/aiui-vscode/src/contribution.ts:36
Inclusive line count; consumers derive it from text if omitted.
role?
optionalrole?:string
Defined in: packages/aiui-vscode/src/contribution.ts:34
The contributing view's role — this provider says "vscode".
sourceLoc?
optionalsourceLoc?:string
Defined in: packages/aiui-vscode/src/contribution.ts:30
Human locator: file:line:col (single line) or file:start-end.
text
text:
string
Defined in: packages/aiui-vscode/src/contribution.ts:28
The selected text, verbatim.
url?
optionalurl?:string
Defined in: packages/aiui-vscode/src/contribution.ts:32
Where the selection came from (here: a vscode://file/… URI).