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/16433
Daniele54c0d8fdc85
diff --git a/kernel/av/av.go b/kernel/av/av.goindex 4fb5901c18..e8eb15cfa5 100644--- a/kernel/av/av.go+++ b/kernel/av/av.go@@ -745,6 +745,13 @@ func (av *AttributeView) Clone() (ret *AttributeView) {oldKeyIDs = append(oldKeyIDs, kv.Key.ID)kv.Key.ID = newIDkv.Values = []*Value{}++ if KeyTypeRelation == kv.Key.Type {+ // 断开关联+ kv.Key.Relation.IsTwoWay = false+ kv.Key.Relation.AvID = ""+ kv.Key.Relation.BackKeyID = ""+ }}oldKeyIDs = gulu.Str.RemoveDuplicatedElem(oldKeyIDs)