Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16947#issuecomment-3830635977

Danielc1b7efec08c2
diff --git a/kernel/model/bazzar.go b/kernel/model/bazzar.go
index aeb1f67e17..9c1c298194 100644
--- a/kernel/model/bazzar.go
+++ b/kernel/model/bazzar.go
@@ -120,6 +120,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
if plugin.Outdated {
plugins = append(plugins, plugin)
}
+ plugin.PreferredReadme = "" // 清空这个字段,前端会请求在线的 README
}
}()
@@ -130,6 +131,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
if widget.Outdated {
widgets = append(widgets, widget)
}
+ widget.PreferredReadme = ""
}
}()
@@ -140,6 +142,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
if icon.Outdated {
icons = append(icons, icon)
}
+ icon.PreferredReadme = ""
}
}()
@@ -150,6 +153,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
if theme.Outdated {
themes = append(themes, theme)
}
+ theme.PreferredReadme = ""
}
}()
@@ -160,6 +164,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
if template.Outdated {
templates = append(templates, template)
}
+ template.PreferredReadme = ""
}
}()