3 Commits

Author SHA1 Message Date
chengyongru
3d9f50a0cc refactor(apply_patch): remove deprecated patch mode, keep edits-only
Drop the legacy unified-diff patch parameter and all related parsing/
generation logic (_parse_patch, _generate_patch, _apply_hunks, etc.).
The tool now accepts only the structured `edits` array, eliminating the
intermediate diff-string round-trip.

Also update file_edit_events tracking and tests to work exclusively
with edits.

Benchmark (zhipu glm-5.1, edits mode): 15/15 cases passed.
2026-05-22 17:25:45 +08:00
Xubin Ren
5f0ba05de5 feat(tools): tighten patch and session workflows 2026-05-21 01:25:20 +08:00
Xubin Ren
6851fa57a6 feat(tools): optimize coding workflows 2026-05-20 23:08:21 +08:00