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/insider/issues/1082
Liang Dinge59167912ea2
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.goindex 70faf8abc6..fad01e0da8 100644--- a/kernel/model/transaction.go+++ b/kernel/model/transaction.go@@ -997,8 +997,6 @@ func (tx *Transaction) begin() (err error) {func (tx *Transaction) commit() (err error) {for _, tree := range tx.trees {- go pushTreeStat(tree)-if err = writeJSONQueue(tree); nil != err {return}@@ -1009,11 +1007,6 @@ func (tx *Transaction) commit() (err error) {return}-func pushTreeStat(tree *parse.Tree) {- stat := treenode.StatTree(tree)- util.PushStatusBarCounter(stat)-}-func (tx *Transaction) rollback() {tx.trees, tx.nodes = nil, nilreturndiff --git a/kernel/util/websocket.go b/kernel/util/websocket.goindex 2d8c7db468..f63dc017d5 100644--- a/kernel/util/websocket.go+++ b/kernel/util/websocket.go@@ -159,10 +159,6 @@ type BlockStatResult struct {RefCount int `json:"refCount"`}-func PushStatusBarCounter(stat *BlockStatResult) {- BroadcastByType("main", "statusbarCounter", 0, "", stat)-}-func ContextPushMsg(context map[string]interface{}, msg string) {switch context[eventbus.CtxPushMsg].(int) {case eventbus.CtxPushMsgToProgress: