The Giants and right-hander Jean Machi have agreed to a minor league contract  as Henry Schulman of the San Francisco Chronicle tweets Andrew Baggarly of the San Jose Mercury News tweeted earlier that the two sides were close to finalizing a deal