Build mend, one patch tool for every AI edit format

@yuechu-king

mend — one patch tool for every AI edit format (v3), Sent through the API