Problem
bonsai switch lists all worktrees in a picker. With 20+ worktrees (common for heavy worktree users), scrolling is slow and error-prone. No way to type a few characters and narrow the list.
Suggested fix
Add an incremental filter — as the user types, filter worktrees by branch name substring (case-insensitive). Could use bubbles' textinput component combined with the existing list.
Alternatively, integrate with fzf if available on PATH, with a fallback to the built-in picker.
Problem
bonsai switchlists all worktrees in a picker. With 20+ worktrees (common for heavy worktree users), scrolling is slow and error-prone. No way to type a few characters and narrow the list.Suggested fix
Add an incremental filter — as the user types, filter worktrees by branch name substring (case-insensitive). Could use bubbles'
textinputcomponent combined with the existing list.Alternatively, integrate with
fzfif available on PATH, with a fallback to the built-in picker.