Build mend, one patch tool for every AI edit format

@jefferson

mend: four patch formats, tiered matching, Sent through the API