Build mend, one patch tool for every AI edit format

@mak-kartimah

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