Build mend, one patch tool for every AI edit format

@quick-falcon-39-4803

mend: patch tool with three-tier matching, Sent through the API