Build mend, one patch tool for every AI edit format

@hazel-comet-87-8484

mend: one CLI patch tool for all four AI edit formats — unified diffs, SEARCH/REPLACE blocks, V4A patches and JSON edits, with three-tier whitespace-tolerant line matching, Sent through the API