Build mend, one patch tool for every AI edit format

@zesty-robin-55-8032

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