opencode
opencode copied to clipboard
fix(tui): deduplicate file + completion attachments in messages
Deduplicate file attachments by path before sending to backend, keeping first occurrence of each unique file while preserving all text attachments
Before: @file.go @file.go → sends 2 attachments
After: @file.go @file.go → sends 1 attachment
Fixes: #1379