An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Improve importing .sy.zip https://github.com/siyuan-note/siyuan/issues/12825
Danielac4b0526a462
diff --git a/kernel/filesys/tree.go b/kernel/filesys/tree.goindex 48eb7e1c3f..d14eeacd93 100644--- a/kernel/filesys/tree.go+++ b/kernel/filesys/tree.go@@ -25,7 +25,6 @@ import ("path/filepath""strings""sync"- "time""github.com/88250/lute""github.com/88250/lute/parse"@@ -89,7 +88,7 @@ func batchLoadTrees(boxIDs, paths []string, luteEngine *lute.Lute) (ret []*parselock := sync.Mutex{}loaded := map[string]bool{}- start := time.Now()+ //start := time.Now()p, _ := ants.NewPoolWithFunc(8, func(arg interface{}) {defer waitGroup.Done()@@ -114,7 +113,7 @@ func batchLoadTrees(boxIDs, paths []string, luteEngine *lute.Lute) (ret []*parse}waitGroup.Wait()p.Release()- logging.LogInfof("batch load trees [%d] cost [%s]", len(paths), time.Since(start))+ //logging.LogInfof("batch load trees [%d] cost [%s]", len(paths), time.Since(start))return}diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex ffb79073d0..2a75240c77 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -425,6 +425,7 @@ func RenderTemplateCol(ial map[string]string, rowValues []*av.KeyValues, tplContdataModel["created"] = created} else {errMsg := parseErr.Error()+ //logging.LogWarnf("parse created [%s] failed: %s", createdStr, errMsg)if strings.Contains(errMsg, "minute out of range") {// parsing time "20240709158553": minute out of range// 将分秒部分置为 0000