A ceasefire agreed to last week has largely ended the violence , but has done little to resolve the standoff .