4 Commits

Author SHA1 Message Date
NA-Wen
1970de9875 fix: skip symlinks when downloading session archives 2026-10-16 23:48:50 +08:00
NA-Wen
5df5af7926 fix: validate attachment sources and isolate session storage 2026-10-16 23:24:23 +08:00
Test User
958dc05b7f
fix: replace atexit with BackgroundTask for temp zip cleanup
Using atexit to clean up temporary zip files is unreliable because
atexit handlers only run when the process exits, not after each
download. This means temp files accumulate on disk, one per download,
until the server restarts.

Replace with Starlette's BackgroundTask which runs cleanup after
the response is fully sent, ensuring temp files are deleted promptly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 20:17:09 +08:00
NA-Wen
f0db945ed3 initial commit of chatdev 2.0 2026-01-07 16:24:01 +08:00