sourcesType: ContextSlice[]Required
What is already in the window, in order. Each slice gets its own arc
limitType: numberRequired
The model's window, in tokens
pendingType: ContextSlice[]
What the draft would add, one slice for the text and one per attachment
onCompactType: () => void
Shows the Compact action in the panel
compactPreviewType: { id: string; tokens: number }
The source compaction shrinks and its size after. Hovering Compact previews it
compactingType: boolean
Disables the action and shows the compacting label
compactLabelType: stringDefault: Compact older turns
Label for the Compact action
compactingLabelType: stringDefault: Compacting
Label while compacting
classNameType: string
Additional classes for the wrapper