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: https://github.com/siyuan-note/siyuan/issues/17533 01
Daniel3b3fed1f273f
diff --git a/kernel/model/heading.go b/kernel/model/heading.goindex 5ccfeca2ac..66ada90277 100644--- a/kernel/model/heading.go+++ b/kernel/model/heading.go@@ -399,6 +399,7 @@ func Heading2Doc(srcHeadingID, targetBoxID, targetPath, previousPath string) (srheadingNode.SetIALAttr("type", "doc")headingNode.SetIALAttr("id", srcHeadingID)headingNode.SetIALAttr("title", headingText)+ headingNode.RemoveIALAttr("custom-hidden")newTree.Root.KramdownIAL = headingNode.KramdownIALtopLevel := treenode.TopHeadingLevel(newTree)diff --git a/kernel/model/listitem.go b/kernel/model/listitem.goindex b8864f088e..34e45abef2 100644--- a/kernel/model/listitem.go+++ b/kernel/model/listitem.go@@ -111,6 +111,7 @@ func ListItem2Doc(srcListItemID, targetBoxID, targetPath, previousPath string) (listItemNode.SetIALAttr("id", srcListItemID)listItemNode.SetIALAttr("title", listItemText)listItemNode.RemoveIALAttr("fold")+ listItemNode.RemoveIALAttr("custom-hidden")newTree.Root.KramdownIAL = listItemNode.KramdownIALsrcLiParent := listItemNode.ParentlistItemNode.Unlink()