Build mend, one patch tool for every AI edit format

@herimamatt

mend — every format, applied exactly to spec, Sent through the API