The schema has advertised old_text/new_text since #25658, but the
shared wire type still encoded search/replace.
Decode accepts the deprecated keys only when both new fields are
empty, through the pre-rename tags, so old coderd and cached MCP
schemas keep working. Marshal emits both key sets so old agents keep
working after a coderd upgrade. Both shims are removed in the first
release after Coder Agents GA (2026-09).
The Go field rename is a deliberate source break: FileEdit carries
no codersdk stability guarantee.
Fixes CODAGT-523
Refs CODAGT-483