refactor(tools): unify edit summaries with shared fast diffs
Return compact, workspace-relative summaries from edit_file and apply_patch. Compute one RapidFuzz line alignment per file and reuse it for summary counts and WebUI unified diffs, checking snapshots before reuse. Summarize batched edits by their final file state. Warn only when a recorded file version changed, without asking for a read after an edit has already succeeded. Preserve existing edit errors. Validate summary and activity reuse, repetitive files, diff formatting, snapshot changes, file creation, and read-state behavior.
This commit is contained in:
1 parent
3a725b35a7
commit
1c3c68262f
13 files changed
+346
-170
No files matched your search
@@ -48,6 +48,7 @@ dependencies = [
|
||||
"tiktoken>=0.12.0,<1.0.0",
|
||||
"jinja2>=3.1.0,<4.0.0",
|
||||
"dulwich>=0.22.0,<1.0.0",
|
||||
"rapidfuzz>=3.14.6,<4.0.0",
|
||||
"pyyaml>=6.0,<7.0.0",
|
||||
"filelock>=3.25.2",
|
||||
"watchfiles>=1.1.1,<2.0.0",
|
||||
|
||||
Reference in new issue
Block a user