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: Can't switch workspaces on mobile app Fix https://github.com/siyuan-note/siyuan/issues/10654
Daniel6b7502fc54b1
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.goindex 9e5d186525..16975c1f99 100644--- a/kernel/api/workspace.go+++ b/kernel/api/workspace.go@@ -311,8 +311,9 @@ func setWorkspaceDir(c *gin.Context) {if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {util.PushMsg(model.Conf.Language(42), 1000*15)- time.Sleep(time.Second * 2)+ time.Sleep(time.Second * 1)model.Close(false, false, 1)+ time.Sleep(time.Second * 1)}}diff --git a/kernel/model/conf.go b/kernel/model/conf.goindex a26d66e95d..a2144b0b45 100644--- a/kernel/model/conf.go+++ b/kernel/model/conf.go@@ -546,7 +546,7 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {exitLock.Lock()defer exitLock.Unlock()- logging.LogInfof("exiting kernel [force=%v, execInstallPkg=%d]", force, execInstallPkg)+ logging.LogInfof("exiting kernel [force=%v, setCurrentWorkspace=%v, execInstallPkg=%d]", force, setCurrentWorkspace, execInstallPkg)util.PushMsg(Conf.Language(95), 10000*60)WaitForWritingFiles()