An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Update av export
Daniel707e9e03cc22
diff --git a/kernel/model/import.go b/kernel/model/import.goindex a342f3cfa2..b384f7eecf 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -187,6 +187,16 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {})}+ // 将关联的数据库文件移动到 data/storage/av/ 下+ storageAvDir := filepath.Join(unzipRootPath, "storage", "av")+ if gulu.File.IsExist(storageAvDir) {+ targetStorageAvDir := filepath.Join(util.DataDir, "storage", "av")+ if copyErr := filelock.Copy(storageAvDir, targetStorageAvDir); nil != copyErr {+ logging.LogErrorf("copy storage av dir from [%s] to [%s] failed: %s", storageAvDir, targetStorageAvDir, copyErr)+ }++ }+// 写回 .syfor _, tree := range trees {syPath := filepath.Join(unzipRootPath, tree.Path)