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: Clean code
Daniel18ea513241ca
diff --git a/kernel/model/storage.go b/kernel/model/storage.goindex db145a0523..7716f990e6 100644--- a/kernel/model/storage.go+++ b/kernel/model/storage.go@@ -157,10 +157,10 @@ func getRecentDocs() (ret []*RecentDoc, err error) {type Criterion struct {Name string `json:"name"`- Sort int `json:"sort"` // 0:按块类型(默认),1:按创建时间升序,2:按创建时间降序,3:按更新时间升序,4:按更新时间降序,5:按内容顺序(仅在按文档分组时)+ Sort int `json:"sort"` // 0:按块类型(默认),1:按创建时间升序,2:按创建时间降序,3:按更新时间升序,4:按更新时间降序,5:按内容顺序(仅在按文档分组时)Group int `json:"group"` // 0:不分组,1:按文档分组HasReplace bool `json:"hasReplace"` // 是否有替换- Method int `json:"method"` // 0:文本,1:查询语法,2:SQL,3:正则表达式+ Method int `json:"method"` // 0:文本,1:查询语法,2:SQL,3:正则表达式HPath string `json:"hPath"`IDPath []string `json:"idPath"`K string `json:"k"` // 搜索关键字