Build mend, one patch tool for every AI edit format

@swift-panda-53-2996

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