Commit 02ab997
committed
fix: file transfer system critical bugs and add persistence
- Fix recovery logic: save transfer data before cleanup so recovery
can actually use it to restart transfers
- Register GMCPClientFile package so Client.File.Download messages
are handled (was silently dropped)
- Fix error handling in handleIncomingChunk: capture hash from header
so errors report actual hash instead of "unknown"
- Add error handling to acceptTransfer in client.ts
- Wire up FileTransferStore for IndexedDB persistence:
- Chunks saved as they arrive for resumable transfers
- Metadata tracked for incomplete transfers
- Cleanup on completion, hash mismatch, or cancellation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]> 11fcd431 parent 27d683f commit 02ab997
3 files changed
+55
-55
lines changedLines changed: 53 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments