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: 启动时移除处于网盘路径下的工作空间 https://github.com/siyuan-note/siyuan/issues/7790
Liang Ding26b25b8f385a
diff --git a/kernel/util/working.go b/kernel/util/working.goindex 770ff55612..7fb9014a33 100644--- a/kernel/util/working.go+++ b/kernel/util/working.go@@ -214,6 +214,16 @@ func initWorkspaceDir(workspaceArg string) {}} else {workspacePaths, _ = ReadWorkspacePaths()+ var tmp []string+ for _, workspacePath := range workspacePaths {+ if IsCloudDrivePath(workspacePath) {+ logging.LogWarnf("skip the cloud drive path [%s]", workspacePath)+ continue+ }+ tmp = append(tmp, workspacePath)+ }+ workspacePaths = tmp+if 0 < len(workspacePaths) {// 取最后一个(也就是最近打开的)工作空间WorkspaceDir = workspacePaths[len(workspacePaths)-1]