Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add plugin config items `backends` and `frontends` https://github.com/siyuan-note/siyuan/issues/8386 Improve plugin load performance https://github.com/siyuan-note/siyuan/issues/8397

Danielbd9affef7f03
diff --git a/kernel/model/bazzar.go b/kernel/model/bazzar.go
index 2717661661..fe3ad56e7f 100644
--- a/kernel/model/bazzar.go
+++ b/kernel/model/bazzar.go
@@ -52,7 +52,7 @@ func BazaarPlugins(frontend string) (plugins []*bazaar.Plugin) {
func InstalledPlugins(frontend string) (plugins []*bazaar.Plugin) {
plugins = bazaar.InstalledPlugins(frontend, true)
- petals := getPetals(frontend)
+ petals := getPetals()
for _, plugin := range plugins {
petal := getPetalByName(plugin.Name, petals)
if nil != petal {
@@ -78,7 +78,7 @@ func UninstallBazaarPlugin(pluginName, frontend string) error {
return errors.New(fmt.Sprintf(Conf.Language(47), err.Error()))
}
- petals := getPetals(frontend)
+ petals := getPetals()
var tmp []*Petal
for i, petal := range petals {
if petal.Name != pluginName {