fix: remove redundant scope field from MCP server display and add CONCAT merge strategy for mcp allowed/excluded lists

This commit is contained in:
LaZzyMan 2026-03-09 21:38:42 +08:00
parent 817f24e0ea
commit d32dcab5db
6 changed files with 11 additions and 20 deletions

View file

@ -998,6 +998,7 @@ const SETTINGS_SCHEMA = {
default: undefined as string[] | undefined,
description: 'A list of MCP servers to allow.',
showInDialog: false,
mergeStrategy: MergeStrategy.CONCAT,
},
excluded: {
type: 'array',
@ -1007,6 +1008,7 @@ const SETTINGS_SCHEMA = {
default: undefined as string[] | undefined,
description: 'A list of MCP servers to exclude.',
showInDialog: false,
mergeStrategy: MergeStrategy.CONCAT,
},
},
},