Manaea, who spent the first 6 years of his career in Oakland, signed a two-year, $25 million contract with San Francisco.