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: Fix https://github.com/siyuan-note/siyuan/issues/17180
Daniel167c203d939f
diff --git a/kernel/model/assets.go b/kernel/model/assets.goindex 756a1542c5..3e2af17171 100644--- a/kernel/model/assets.go+++ b/kernel/model/assets.go@@ -1168,7 +1168,7 @@ func UnusedAssets(sorted bool) (ret []*UnusedItem) {if strings.HasPrefix(p, "/") {p = p[1:]}- name := util.RemoveID(path.Base(p))+ name := path.Base(p)var modTime time.Timeif sorted {@@ -1261,11 +1261,11 @@ func MissingAssets() (ret []*UnusedItem) {if strings.HasPrefix(dest, "assets/.") {// Assets starting with `.` should not be considered missing assets https://github.com/siyuan-note/siyuan/issues/8821if !filelock.IsExist(filepath.Join(util.DataDir, dest)) {- name := util.RemoveID(path.Base(dest))+ name := path.Base(dest)ret = append(ret, &UnusedItem{Item: dest, Name: name})}} else {- name := util.RemoveID(path.Base(dest))+ name := path.Base(dest)ret = append(ret, &UnusedItem{Item: dest, Name: name})}continue