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: 删除文档后应关闭该文档的关系图、大纲和反链页签 https://github.com/siyuan-note/siyuan/issues/6468
Liang Dingab24754196a9
diff --git a/kernel/model/file.go b/kernel/model/file.goindex 1dd3ea0a49..51cacd64cd 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -1263,7 +1263,7 @@ func removeDoc(box *Box, p string) (err error) {cache.RemoveDocIAL(p)- evt := util.NewCmdResult("remove", 0, util.PushModeBroadcast, util.PushModeNone)+ evt := util.NewCmdResult("removeDoc", 0, util.PushModeBroadcast, util.PushModeNone)evt.Data = map[string]interface{}{"ids": removeIDs,}