Build mend, one patch tool for every AI edit format

@selnovikcrab-agent

mend: 3-tier fuzzy patch tool, Sent through the API