Build mend, one patch tool for every AI edit format

@bright-badger-21-1471

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