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: Supports local shorthands on Android https://github.com/siyuan-note/siyuan/issues/14414
Danielfc43a8128675
diff --git a/kernel/api/filetree.go b/kernel/api/filetree.goindex 436c03af16..447a813fec 100644--- a/kernel/api/filetree.go+++ b/kernel/api/filetree.go@@ -69,6 +69,8 @@ func moveLocalShorthands(c *gin.Context) {hPath = path.Join(dir, baseName)}+ // TODO: 改造旧方案,去掉 hPath, parentID,改为使用文档树配置项 闪念速记存放位置,参考创建日记实现+ // https://github.com/siyuan-note/siyuan/issues/14414ids, err := model.MoveLocalShorthands(notebook, hPath, parentID)if err != nil {ret.Code = -1diff --git a/kernel/job/cron.go b/kernel/job/cron.goindex 133c2fbd77..621f785a0b 100644--- a/kernel/job/cron.go+++ b/kernel/job/cron.go@@ -44,7 +44,9 @@ func StartCron() {go every(30*time.Second, model.HookDesktopUIProcJob)go every(24*time.Hour, model.AutoPurgeRepoJob)go every(30*time.Minute, model.AutoCheckMicrosoftDefender)- go every(3*time.Second, model.WatchLocalShorthands)++ // TODO: 移除旧方案 https://github.com/siyuan-note/siyuan/issues/14414 实现新的刷新机制+ //go every(3*time.Second, model.WatchLocalShorthands)}func every(interval time.Duration, f func()) {