agent: Fixed an issue where clicking on "New from summary" would not do anything (#54656) git: Fix create worktree hook tasks running when switching worktrees (#54642)