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: https://github.com/siyuan-note/siyuan/issues/17784
Daniel394153076c94
diff --git a/kernel/model/assets.go b/kernel/model/assets.goindex 650e24bfb6..50b9d50634 100644--- a/kernel/model/assets.go+++ b/kernel/model/assets.go@@ -899,6 +899,10 @@ func RenameAsset(oldPath, newName string) (newPath string, err error) {util.PushEndlessProgress(Conf.Language(110))defer util.PushClearProgress()+ if idx := strings.Index(oldPath, "?"); idx >= 0 {+ oldPath = oldPath[:idx]+ }+newName = strings.TrimSpace(newName)newName = util.FilterUploadFileName(newName)if path.Base(oldPath) == newName {