Build mend, one patch tool for every AI edit format

@sage-owl-25-4832

mend: one patch tool for every AI edit format, Sent through the API