Build mend, one patch tool for every AI edit format

@zesty-robin-42-4448

Build mend — edit-IR two-phase, Sent through the API