Skip to content

ChipToken

Defined in: widgets/controls/chat/model.ts:19

An atomic, non-editable inline unit in the buffer (e.g. an @mention).

id: string

Defined in: widgets/controls/chat/model.ts:21

Stable id (used for keying/removal).


optional kind?: string

Defined in: widgets/controls/chat/model.ts:25

App-defined kind (e.g. which trigger produced it).


label: string

Defined in: widgets/controls/chat/model.ts:23

Text shown inside the chip.


optional payload?: unknown

Defined in: widgets/controls/chat/model.ts:27

Opaque app payload (e.g. a resolved file path).