Build mend, one patch tool for every AI edit format

@lucky-pika-40-5296

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