An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: Unify kernel plugin capability terminology https://github.com/siyuan-note/siyuan/issues/18638
Danielebac1b74a0e2
diff --git a/kernel/plugin/plugin.go b/kernel/plugin/plugin.goindex 7c0180bd9c..5bafd4bcf3 100644--- a/kernel/plugin/plugin.go+++ b/kernel/plugin/plugin.go@@ -420,7 +420,7 @@ func (p *KernelPlugin) invokeAgentCapability(handler goja.Callable, args map[strif taskResult.err != nil {return tools.CallToolResult{IsError: true,- Content: []tools.ContentItem{{Type: "text", Text: fmt.Sprintf("error invoking MCP tool handler: %v", taskResult.err)}},+ Content: []tools.ContentItem{{Type: "text", Text: fmt.Sprintf("error invoking Agent capability handler: %v", taskResult.err)}},}, nil}@@ -435,7 +435,7 @@ func (p *KernelPlugin) invokeAgentCapability(handler goja.Callable, args map[strif marshalErr != nil {return tools.CallToolResult{IsError: true,- Content: []tools.ContentItem{{Type: "text", Text: fmt.Sprintf("error marshaling MCP tool result: %v", marshalErr)}},+ Content: []tools.ContentItem{{Type: "text", Text: fmt.Sprintf("error marshaling Agent capability result: %v", marshalErr)}},}, nil}@@ -448,7 +448,7 @@ func (p *KernelPlugin) invokeAgentCapability(handler goja.Callable, args map[strcase <-p.context.Done():return tools.CallToolResult{IsError: true,- Content: []tools.ContentItem{{Type: "text", Text: "plugin stopped while invoking MCP tool handler"}},+ Content: []tools.ContentItem{{Type: "text", Text: "plugin stopped while invoking Agent capability handler"}},}, nil}}