Integrates the semantic diff engine into existing tools that return
file patches:
- get_commit: Adds Patch field to MinimalCommitFile and applies
semantic diff for supported formats (JSON, YAML, CSV, TOML) and
structural diff for code files
- pull_request_read (get_diff): Splits multi-file raw diff by file
and applies semantic diff per-file where beneficial
- pull_request_read (get_files): Applies semantic diff to each
file's Patch field before returning
Unsupported file types keep their original unified diff patches
unchanged. Patches are reconstructed from hunks to feed the semantic
diff engine — this works well for structured data where the full
content is typically in the diff.