feat: globalize Magic Notes and improve runtime tools
This commit is contained in:
@@ -4,7 +4,11 @@ export type BuiltinMcpServerSummary = {
|
||||
id: string
|
||||
name: string
|
||||
description: string
|
||||
tools: readonly string[]
|
||||
tools: readonly {
|
||||
name: string
|
||||
description: string
|
||||
access: 'read'
|
||||
}[]
|
||||
assignments: readonly RuntimeTarget[]
|
||||
access: 'read'
|
||||
authorization: 'conversation-scoped'
|
||||
@@ -16,7 +20,29 @@ export const builtinMcpServers = [
|
||||
name: '知识库 MCP',
|
||||
description:
|
||||
'搜索当前对话明确选择的知识库,并返回可核验的来源与证据引用。',
|
||||
tools: ['knowledge_search'],
|
||||
tools: [
|
||||
{
|
||||
name: 'knowledge_search',
|
||||
description: '搜索当前对话已授权的知识库并返回来源引用。',
|
||||
access: 'read'
|
||||
}
|
||||
],
|
||||
assignments: ['model', 'opencode', 'continue'],
|
||||
access: 'read',
|
||||
authorization: 'conversation-scoped'
|
||||
},
|
||||
{
|
||||
id: 'magic-notes',
|
||||
name: '笔记 MCP',
|
||||
description:
|
||||
'搜索全局魔法笔记,返回匹配的笔记、记录正文与更新时间。',
|
||||
tools: [
|
||||
{
|
||||
name: 'note_search',
|
||||
description: '搜索全局魔法笔记中的标题和记录正文。',
|
||||
access: 'read'
|
||||
}
|
||||
],
|
||||
assignments: ['model', 'opencode', 'continue'],
|
||||
access: 'read',
|
||||
authorization: 'conversation-scoped'
|
||||
|
||||
Reference in New Issue
Block a user