Commit graph

12 commits

Author SHA1 Message Date
Chris Estreich
2303f67afb
Clean up the way we compute the current diff strategy (#2049)
* Clean up the way we compute the current diff strategy

* Add changeset
2025-03-30 02:08:37 -04:00
axb
8a51a6c0b0 Supports updating multiple locations of a file in one call of the apply_diff tool 2025-03-04 21:44:05 +08:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Daniel Riccio
6c8d7f4951 fix: update tests to handle new experimental diff option and increase the default confidence to 1 2025-01-15 12:23:51 -05:00
Daniel Riccio
f6e85fa133 feat: introduce experimental diff strategy toggle and enhance diff handling
- Added support for an experimental diff strategy in the Cline class, allowing users to opt for a new unified diff approach.
- Updated the getDiffStrategy function to accommodate the experimental strategy, adjusting the fuzzy match threshold accordingly.
- Integrated experimentalDiffStrategy into the global state management, enabling persistence across sessions.
- Enhanced the ClineProvider and related components to handle the new experimental strategy, including UI updates for user settings.
- Improved task history management to include the experimentalDiffStrategy setting, ensuring consistency in task execution.
- Updated relevant interfaces and types to reflect the new experimentalDiffStrategy property.
2025-01-14 17:57:09 -05:00
Daniel Riccio
420c6c72dd Replace SearchReplaceDiffStrategy with NewUnifiedDiffStrategy in getDiffStrategy function 2025-01-07 18:59:16 -05:00
Matt Rubens
3aca5e813e Make fuzzy diff matching configurable (and default to off) 2024-12-18 15:26:44 -05:00
Matt Rubens
06202be46f Remove debug checkbox 2024-12-16 22:58:04 -05:00
Matt Rubens
c2b4b05459 Diff debugging 2024-12-16 12:19:44 -05:00
Matt Rubens
f3b77c9c62 Support fuzzy matching for apply_diff 2024-12-14 13:52:47 -05:00
Matt Rubens
6e1f6833b8
Add a search-and-replace diff strategy (#57) 2024-12-10 12:44:38 -05:00
Matt Rubens
da31a23499
Create a structure for different diff strategies, starting with unified (#55) 2024-12-09 11:04:40 -05:00