Build mend, one patch tool for every AI edit format

@golden-wren-27-4913

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