feat: expand model tools and document handling
This commit is contained in:
@@ -12,12 +12,13 @@ export type BuiltinMcpServerSummary = {
|
||||
assignments: readonly RuntimeTarget[]
|
||||
access: 'read' | 'mixed'
|
||||
authorization: 'conversation-scoped'
|
||||
requiresFeature?: 'magic-notes'
|
||||
}
|
||||
|
||||
export const builtinMcpServers = [
|
||||
{
|
||||
id: 'knowledge-base',
|
||||
name: '知识库 MCP',
|
||||
name: '知识库',
|
||||
description:
|
||||
'列出并搜索当前对话明确选择的知识库,返回可核验的来源与证据引用。',
|
||||
tools: [
|
||||
@@ -38,7 +39,7 @@ export const builtinMcpServers = [
|
||||
},
|
||||
{
|
||||
id: 'magic-notes',
|
||||
name: '笔记 MCP',
|
||||
name: '笔记',
|
||||
description:
|
||||
'读取全局魔法笔记,并在 Execute 模式下创建、修改或删除笔记与记录。',
|
||||
tools: [
|
||||
@@ -90,6 +91,7 @@ export const builtinMcpServers = [
|
||||
],
|
||||
assignments: ['model', 'opencode', 'continue'],
|
||||
access: 'mixed',
|
||||
authorization: 'conversation-scoped'
|
||||
authorization: 'conversation-scoped',
|
||||
requiresFeature: 'magic-notes'
|
||||
}
|
||||
] as const satisfies readonly BuiltinMcpServerSummary[]
|
||||
|
||||
Reference in New Issue
Block a user