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: Trust plugins loading on mobile-end
Daniel256e64e8b55b
diff --git a/kernel/model/plugin.go b/kernel/model/plugin.goindex f873b7316f..1baac24dee 100644--- a/kernel/model/plugin.go+++ b/kernel/model/plugin.go@@ -74,10 +74,17 @@ func SetPetalEnabled(name string, enabled bool, frontend string) (ret *Petal, erfunc LoadPetals(frontend string) (ret []*Petal) {ret = []*Petal{}- if Conf.Bazaar.PetalDisabled || !Conf.Bazaar.Trust {+ if Conf.Bazaar.PetalDisabled {return}+ if !Conf.Bazaar.Trust {+ // 移动端没有集市模块,所以要默认开启,桌面端和 Docker 容器需要用户手动确认过信任后才能开启+ if util.ContainerStd == util.Container || util.ContainerDocker == util.Container {+ return+ }+ }+petals := getPetals()for _, petal := range petals {_, petal.DisplayName, petal.Incompatible = bazaar.ParseInstalledPlugin(petal.Name, frontend)