Compare two texts with a Myers diff over lines, words, or characters. Returns structured edit operations, a standard unified diff (line mode), and similarity statistics. Built for agents tracking document revisions, verifying edits, or reviewing generated changes. POST a JSON body like: {"a":"line one\nline two\n","b":"line one\nline 2\n","mode":"lines"}