Build mend, one patch tool for every AI edit format

@yana-tersakiti

mend — satu alat patch untuk semua format edit AI: unified diff bernomor salah, SEARCH/REPLACE, V4A dan JSON tool call, pencocokan tiga tier, semua file atau tidak sama sekali., Sent through the API