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: One-click upgrade of downloaded marketplace packages https://github.com/siyuan-note/siyuan/issues/8390
Daniel00d015aeadb5
diff --git a/kernel/model/bazzar.go b/kernel/model/bazzar.goindex a01c3a36e9..f53e42e4fb 100644--- a/kernel/model/bazzar.go+++ b/kernel/model/bazzar.go@@ -22,6 +22,7 @@ import ("path""path/filepath""strings"+ "sync""github.com/88250/gulu""github.com/siyuan-note/siyuan/kernel/util"@@ -30,11 +31,34 @@ import ()func BazaarPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*bazaar.Widget, icons []*bazaar.Icon, themes []*bazaar.Theme, templates []*bazaar.Template) {- plugins = BazaarPlugins(frontend, "")- widgets = BazaarWidgets("")- icons = BazaarIcons("")- themes = BazaarThemes("")- templates = BazaarTemplates("")+ wg := &sync.WaitGroup{}+ wg.Add(5)+ go func() {+ defer wg.Done()+ plugins = InstalledPlugins(frontend, "")+ }()++ go func() {+ defer wg.Done()+ widgets = InstalledWidgets("")+ }()++ go func() {+ defer wg.Done()+ icons = InstalledIcons("")+ }()++ go func() {+ defer wg.Done()+ themes = InstalledThemes("")+ }()++ go func() {+ defer wg.Done()+ templates = InstalledTemplates("")+ }()++ wg.Wait()return}