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: 文档树支持 `Ctrl+Click` 和 `Shift+↑/↓` 进行多选 https://github.com/siyuan-note/siyuan/issues/1359
Liang Ding27951d45ec3f
diff --git a/kernel/model/file.go b/kernel/model/file.goindex ca7554fab8..e6b48d09f6 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -1218,12 +1218,7 @@ func RemoveDocs(paths []string) (err error) {util.PushEndlessProgress(Conf.Language(116))paths = filterSelfChildDocs(paths)- var ids []string- for _, p := range paths {- ids = append(ids, strings.TrimSuffix(path.Base(p), ".sy"))- }-- pathsBoxes := getBoxesByPaths(ids)+ pathsBoxes := getBoxesByPaths(paths)WaitForWritingFiles()for p, box := range pathsBoxes {err = removeDoc(box, p)