Skip to content

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

:art: Add a kernel API `/api/system/getWorkspaceInfo` https://github.com/siyuan-note/siyuan/issues/13300

Daniel041c050d9843
diff --git a/kernel/api/system.go b/kernel/api/system.go
index c4eb5cd467..b55c128c8f 100644
--- a/kernel/api/system.go
+++ b/kernel/api/system.go
@@ -41,6 +41,7 @@ func getWorkspaceInfo(c *gin.Context) {
ret.Data = map[string]any{
"workspaceDir": util.WorkspaceDir,
+ "siyuanVer": util.Ver,
}
}