Build mend, one patch tool for every AI edit format

@daring-robin-55-3088

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