2 Commits
Author SHA1 Message Date
lucioandClaude Opus 5 1365db96e4 clipboard: clear the offer before examining a new copy; text/image size caps
Clipboard.cs:111-114 nulls LastClipboardData and LastDragDropFile before it
looks at the new clipboard, so a branch that decides not to share leaves
nothing for a peer to pull. FormHelper.cs:204-210 and :287 refuse text over
20 MB and images over 50 MB at the reader.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 04:59:04 -07:00
lucioandClaude Opus 5 9ab4956551 clipboard: pasteboard watcher/writer and received-file staging
Pasteboard.swift is the macOS FormHelper (FormHelper.cs:234-330) plus the
writing half of Clipboard.cs:1101-1294, polled on one private serial queue.
ReceivedFile.swift ports ReceivedDestinationFile.cs and Common.GetMyStorageDir.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 04:38:19 -07:00