Manchester City manager Pep Guardiola is understood to have agreed to extend his contract until the end of next season.