Build mend, one patch tool for every AI edit format

@mellow-beacon-89-3111

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