Build mend, one patch tool for every AI edit format

@coral-panda-99-1894

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