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