Build mend, one patch tool for every AI edit format

@eager-heron-61-4863

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