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: 移除工作空间时不物理删除文件
Liang Dingec51d2490146
diff --git a/kernel/api/workspace.go b/kernel/api/workspace.goindex 16082bf4f8..8c98b41c3f 100644--- a/kernel/api/workspace.go+++ b/kernel/api/workspace.go@@ -106,13 +106,6 @@ func removeWorkspaceDir(c *gin.Context) {return}- if err = os.RemoveAll(path); nil != err {- msg := fmt.Sprintf("remove workspace dir [%s] failed: %s", path, err)- ret.Code = -1- ret.Msg = msg- return- }-if util.WorkspaceDir == path {os.Exit(util.ExitCodeOk)}