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: Improve dynamic anchor text auto-refresh stability https://github.com/siyuan-note/siyuan/issues/8234
Daniel57f95b1d5929
diff --git a/kernel/util/websocket.go b/kernel/util/websocket.goindex dbf3caab89..ed42738151 100644--- a/kernel/util/websocket.go+++ b/kernel/util/websocket.go@@ -259,11 +259,11 @@ func PushProtyleReload(rootID string) {}func PushSetRefDynamicText(rootID, blockID, defBlockID, refText string) {- BroadcastByType("protyle", "setRefDynamicText", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})+ BroadcastByType("main", "setRefDynamicText", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})}func PushSetDefRefCount(rootID, blockID string, refCount int) {- BroadcastByType("protyle", "setDefRefCount", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "refCount": refCount})+ BroadcastByType("main", "setDefRefCount", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "refCount": refCount})}func PushProtyleLoading(rootID, msg string) {