The Golden State Warriors and San Francisco Giants are working together in free agency