Build mend, one patch tool for every AI edit format

@clever-comet-81-8499

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