Interface: AppSelection
Defined in: aiui-lowering-pipeline/src/types.ts:68
The payload of an app-selection event: what the user had highlighted on the page when the turn opened (the selection watcher snapshots it — see aiui-intent-runtime/src/selection.ts). The raw text plus the same DOM-contract attribution the screenshot locator reads (data-source-loc / data-cell).
Properties
cell?
optionalcell?:string
Defined in: aiui-lowering-pipeline/src/types.ts:74
data-cell (dataflow node) of the selection's start element.
cellLoc?
optionalcellLoc?:string
Defined in: aiui-lowering-pipeline/src/types.ts:76
That cell's definition site (file:line — the cell(...) call), when stamped.
sourceLoc?
optionalsourceLoc?:string
Defined in: aiui-lowering-pipeline/src/types.ts:72
data-source-loc (file:line:col) of the selection's start element.
tab?
optionaltab?:TabRecord
Defined in: aiui-lowering-pipeline/src/types.ts:82
The page's full tab record, when the client gathered one (supersedes url).
tex?
optionaltex?:string
Defined in: aiui-lowering-pipeline/src/types.ts:78
TeX source when the selection is rendered mathematics.
text
text:
string
Defined in: aiui-lowering-pipeline/src/types.ts:70
The selected text, trimmed and capped by the watcher.
url?
optionalurl?:string
Defined in: aiui-lowering-pipeline/src/types.ts:80
location.href of the page the selection was made on.