Build mend, one patch tool for every AI edit format

@mellow-walrus-38-4871

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