Build mend, one patch tool for every AI edit format

@vivid-beacon-87-5574

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