Fixed
- Parser: Fixed a bug where empty lines between file diffs (common in LLM outputs) were incorrectly absorbed as trailing context lines, breaking file creation and deletion detection.
- API: Made
Patch::is_creation()andPatch::is_deletion()more robust by checking hunk header line numbers (e.g.,@@ -0,0 ...). - Fuzzy Matching: Fixed a bug in the search optimization heuristic where indentation differences between the patch and the target file would cause the fuzzy search to fail or look in the wrong location. The anchor line search now correctly ignores leading whitespace.