agent: Fix cmd-f not working when buffer is open (#60750)

Turns out I only tested it with all tabs closed, the keybinding would
only work when all tabs were closed and you focused the agent panel. If
a file was opened in the center pane, cmd-f would open a search in that
file instead of searching in the agent panel, even if the thread view as
focused.

Closes #60686

Release Notes:

- agent: Fixed an issue where cmd-f would not work if file is open in
center pane
585e4aab08Bennet Bo Fenner committed on 7/10/2026, 11:38:53 AM· committed by GitHubparent5cf706c
4 files changedLine totals unavailable