724 B
724 B
@gsxdsm/fusion
| @gsxdsm/fusion |
|---|
| patch |
Add filesystem cleanup for archived tasks. Archived tasks can now be condensed into a compact archive.jsonl entry and removed from the filesystem to save space. Tasks can be restored from the archive log when unarchived.
New TaskStore methods:
archiveTask(id, cleanup)- Optional cleanup parameter to archive and clean up immediatelyarchiveTaskAndCleanup(id)- Convenience method for immediate cleanupcleanupArchivedTasks()- Bulk cleanup of all archived tasks with existing directoriesreadArchiveLog()- Parse archive.jsonl entriesfindInArchive(id)- Find a specific task in the archive logunarchiveTask(id)- Now restores from archive if directory is missing