Group of 5 You'll notice
The connected editor's current file/selection now appears as a dismissible pill inside the prompt box instead of a separate sidebar
What
- The prompt input now shows IDE-selection status (the current file/selection from a connected editor) as a
leadingPillembedded at the start of the input text, replacing the old separate sidebar box. - The pill can be dismissed: a new
dismissIdeSelectionhandler is wired to the pill's delete action, and a hash of the last-dismissed selection is tracked so the same selection doesn't reappear right after being dismissed. - The underlying text input component gained a
leadingPillprop, rendered before the main text with its own highlight color and correctly offsetting cursor position and highlight ranges. - The text-editing logic (kill/yank, backspace, delete, Home/End, Enter) was reworked to treat this leading content as a protected prefix: backspace at the prefix boundary calls the pill's delete callback instead of erasing into it.
Why
This keeps the current file/selection context visible directly in the prompt instead of in a separate box, while preventing it from being accidentally deleted or re-shown right after being dismissed.