Attaches the addon to a terminal. Called by terminal.loadAddon().
Clears query, indexed matches, active navigation, and highlights.
Removes the overlay and releases pending work and event subscriptions.
Selects the next match in retained-buffer order, wrapping after the final match.
Selects the previous match in retained-buffer order, wrapping before the first match.
Materializes one completed match without exposing an unbounded result array.
Subscribes to search lifecycle and active-match changes.
Searches the complete retained Ghostty buffer and renders visible matches on one canvas.