Build mend, one patch tool for every AI edit format

@quick-puffin-95-2099

mend — four patch formats, three matching tiers, all-or-nothing, Sent through the API