Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: The workspace will be reset on iOS https://github.com/siyuan-note/siyuan/issues/16544

Danielaf823bd8fa91
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go
index b1fbddd98b..3bb2b5c17c 100644
--- a/kernel/api/workspace.go
+++ b/kernel/api/workspace.go
@@ -243,8 +243,10 @@ func getWorkspaces(c *gin.Context) {
var workspaces, openedWorkspaces, closedWorkspaces []*Workspace
for _, p := range workspacePaths {
+ logging.LogInfof("get workspace [%s]", p)
closed := !util.IsWorkspaceLocked(p)
if closed {
+ logging.LogInfof("workspace [%s] is closed", p)
closedWorkspaces = append(closedWorkspaces, &Workspace{Path: p, Closed: closed})
} else {
openedWorkspaces = append(openedWorkspaces, &Workspace{Path: p, Closed: closed})