agent-zero
agent-zero copied to clipboard
usr/ data dir
- Migrated user data to
/usrdirectory: Moved all persistent user data (chats, uploads, downloads, tasks, secrets, settings) from/tmpto/usrto centralize storage and simplify backups. - Restructured Memory, Knowledge, and Instruments:
- Moved custom knowledge and instruments to
/usr/knowledge/customand/usr/instruments/custom. - Consolidated memory storage into
/usr/memory. - Flattened default knowledge and instrument directories (removed
defaultsubfolder). - Relocated memory embeddings cache to
/tmp/memory/embeddings(transient data).
- Moved custom knowledge and instruments to
- Added migration script: Implemented
python/helpers/migration.pyto automatically move existing data from/tmpto/usron startup. - Updated system paths: Modified
memory.py,persist_chat.py,task_scheduler.py,settings.py, and other helpers to reflect the new directory structure. - Updated Frontend: Adjusted hardcoded paths in
attachmentsStore.jsand API documentation to point to/usr/uploadsinstead of/tmp/uploads. - Cleanup: Removed individual ignores in
.gitignorein favor of a single/usrexclusion rule