An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Daniel75f3d18db923
diff --git a/kernel/mcp/tools/dailynote.go b/kernel/mcp/tools/dailynote.goindex 8e2c0992c4..4ccb3eed1f 100644--- a/kernel/mcp/tools/dailynote.go+++ b/kernel/mcp/tools/dailynote.go@@ -71,6 +71,7 @@ func dailynoteCreate(args map[string]interface{}) (CallToolResult, error) {}model.FlushTxQueue()+ model.AppendPushReloadFiletreeEntry()id := util.GetTreeID(p)status := "created"@@ -115,6 +116,7 @@ func dailynoteAppend(args map[string]interface{}) (CallToolResult, error) {model.PerformTransactions(&transactions)model.FlushTxQueue()+ model.AppendPushReloadProtyleEntry(parentID)return CallToolResult{Content: []ContentItem{{Type: "text", Text: fmt.Sprintf("block appended to daily note: %s", parentID)}}}, nil}@@ -152,5 +154,6 @@ func dailynotePrepend(args map[string]interface{}) (CallToolResult, error) {model.PerformTransactions(&transactions)model.FlushTxQueue()+ model.AppendPushReloadProtyleEntry(parentID)return CallToolResult{Content: []ContentItem{{Type: "text", Text: fmt.Sprintf("block prepended to daily note: %s", parentID)}}}, nil}