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: Fix assets dir locating https://github.com/siyuan-note/siyuan/issues/16353
Danieled949488972b
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.goindex f2e9421af5..4a48bc4b90 100644--- a/kernel/model/transaction.go+++ b/kernel/model/transaction.go@@ -1156,6 +1156,7 @@ func (tx *Transaction) doLargeInsert(previousID string) (ret *TxErr) {data := strings.ReplaceAll(operation.Data.(string), editor.FrontEndCaret, "")subTree := tx.luteEngine.BlockDOM2Tree(data)+ subTree.Box, subTree.Path = tree.Box, tree.Pathtx.processGlobalAssets(subTree)insertedNode := subTree.Root.FirstChild@@ -1288,6 +1289,7 @@ func (tx *Transaction) doInsert(operation *Operation) (ret *TxErr) {data := strings.ReplaceAll(operation.Data.(string), editor.FrontEndCaret, "")subTree := tx.luteEngine.BlockDOM2Tree(data)+ subTree.Box, subTree.Path = tree.Box, tree.Pathtx.processGlobalAssets(subTree)insertedNode := subTree.Root.FirstChild