diff options
| author | haoyuren <13851610112@163.com> | 2026-03-13 16:56:13 -0500 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2026-03-13 16:56:13 -0500 |
| commit | 2d268365bc1f9f9b550812a8aa406b7abc005497 (patch) | |
| tree | bbdd21c471e493573823af95ee651cc39297d82e /src/main/overleafSocket.ts | |
| parent | c309944494eb2de63bf9b35ea722d50b52e688a3 (diff) | |
Add bidirectional sync for binary files (PDF, images, etc.)
FileSyncBridge now handles binary fileRefs in addition to text docs:
- Downloads all binary files to temp dir on project connect
- Watches for binary file changes on disk and uploads via REST API
- Listens for Overleaf socket events (reciveNewFile, reciveNewDoc,
removeEntity, reciveEntityRename) to sync remote changes to disk
- Tracks binary files by SHA1 hash to avoid redundant uploads
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/main/overleafSocket.ts')
0 files changed, 0 insertions, 0 deletions
