An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 桌面端删除当前工作空间后报错 Fix https://github.com/siyuan-note/siyuan/issues/7035
Liang Ding7f82ea8fd75c
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.goindex 8c98b41c3f..54bcd03bbc 100644--- a/kernel/api/workspace.go+++ b/kernel/api/workspace.go@@ -106,7 +106,7 @@ func removeWorkspaceDir(c *gin.Context) {return}- if util.WorkspaceDir == path {+ if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) {os.Exit(util.ExitCodeOk)}}