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: Refresh doc tree after data sync https://github.com/siyuan-note/siyuan/issues/12860
Danielf7f48b23f6ee
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex bd94f781c5..7410347047 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1550,6 +1550,7 @@ func processSyncMergeResult(exit, byHand bool, mergeResult *dejavu.MergeResult,if 0 < len(upsertRootIDs) || 0 < len(removeRootIDs) {util.BroadcastByType("main", "syncMergeResult", 0, "",map[string]interface{}{"upsertRootIDs": upsertRootIDs, "removeRootIDs": removeRootIDs})+ util.PushReloadFiletree()}time.Sleep(2 * time.Second)@@ -1951,23 +1952,23 @@ func buildCloudConf() (ret *cloud.Conf, err error) {ret.Endpoint = util.GetCloudSyncServer()case conf.ProviderS3:ret.S3 = &cloud.ConfS3{- Endpoint: Conf.Sync.S3.Endpoint,- AccessKey: Conf.Sync.S3.AccessKey,- SecretKey: Conf.Sync.S3.SecretKey,- Bucket: Conf.Sync.S3.Bucket,- Region: Conf.Sync.S3.Region,- PathStyle: Conf.Sync.S3.PathStyle,- SkipTlsVerify: Conf.Sync.S3.SkipTlsVerify,- Timeout: Conf.Sync.S3.Timeout,+ Endpoint: Conf.Sync.S3.Endpoint,+ AccessKey: Conf.Sync.S3.AccessKey,+ SecretKey: Conf.Sync.S3.SecretKey,+ Bucket: Conf.Sync.S3.Bucket,+ Region: Conf.Sync.S3.Region,+ PathStyle: Conf.Sync.S3.PathStyle,+ SkipTlsVerify: Conf.Sync.S3.SkipTlsVerify,+ Timeout: Conf.Sync.S3.Timeout,ConcurrentReqs: Conf.Sync.S3.ConcurrentReqs,}case conf.ProviderWebDAV:ret.WebDAV = &cloud.ConfWebDAV{- Endpoint: Conf.Sync.WebDAV.Endpoint,- Username: Conf.Sync.WebDAV.Username,- Password: Conf.Sync.WebDAV.Password,- SkipTlsVerify: Conf.Sync.WebDAV.SkipTlsVerify,- Timeout: Conf.Sync.WebDAV.Timeout,+ Endpoint: Conf.Sync.WebDAV.Endpoint,+ Username: Conf.Sync.WebDAV.Username,+ Password: Conf.Sync.WebDAV.Password,+ SkipTlsVerify: Conf.Sync.WebDAV.SkipTlsVerify,+ Timeout: Conf.Sync.WebDAV.Timeout,ConcurrentReqs: Conf.Sync.WebDAV.ConcurrentReqs,}default: