Traders are focusing on the details of an agreement between Iran and Oman to manage shipping in the Strait of Hormuz, which could tighten Iran's control over the crucial waterway. Oil prices extended gains in response.