feat: implement local file persistence for Daytona sandboxes

- Added functionality to persist sandbox files locally before deletion.
- Introduced methods for retrieving and deleting locally stored sandbox files.
- Updated routes to handle local file downloads and background deletion of sandboxes.
- Enhanced streaming tasks to support sandbox file management.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-02-25 12:25:59 -08:00
parent 80be9f26c4
commit 54dd6f904c
6 changed files with 208 additions and 5 deletions

View file

@ -173,4 +173,6 @@ LANGSMITH_PROJECT=surfsense
DAYTONA_SANDBOX_ENABLED=TRUE
DAYTONA_API_KEY=dtn_asdasfasfafas
DAYTONA_API_URL=https://app.daytona.io/api
DAYTONA_TARGET=us
DAYTONA_TARGET=us
# Directory for locally-persisted sandbox files (after sandbox deletion)
SANDBOX_FILES_DIR=sandbox_files