Commit graph

1 commit

Author SHA1 Message Date
Frad LEE
55cd4ec23d fix(ai): prevent async suggestion duplication
- Add buffer validation to check suggestion starts with buffer
- Discard stale suggestions that don't match current content

Fixes text duplication bug when accepting async suggestions after
buffer changes during suggestion fetch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 17:01:15 +08:00