McLaren and Oscar Piastri have agreed a new multi-year contract extension that the British team say will keep the Australian with them “for the long term”.