project: Context server updates on worktree changes (#51244)

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the UI checklist

Release Notes:

- Fixed context server availability updates when a new worktree is added
to or removed from a project.

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
4d13f01c89Rio Fujita committed on 5/17/2026, 7:38:37 PM· committed by GitHubparent43585af
2 files changedLine totals unavailable