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 the mouse hove data sync button information on the desktop and browser https://github.com/siyuan-note/siyuan/issues/8521
Danield138e5c04ce8
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 3b782f2c08..bf988596f9 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -653,10 +653,19 @@ var (onlineKernelsLock = sync.Mutex{})-func GetOnlineKernels() []*OnlineKernel {+func GetOnlineKernels() (ret []*OnlineKernel) {+ ret = []*OnlineKernel{}onlineKernelsLock.Lock()- defer onlineKernelsLock.Unlock()- return onlineKernels+ tmp := onlineKernels+ onlineKernelsLock.Unlock()+ for _, kernel := range tmp {+ if kernel.ID == kernelID {+ continue+ }++ ret = append(ret, kernel)+ }+ return}var closedSyncWebSocket = false