mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 02:22:25 +00:00
refactor(plugins): share MCP server map extraction
This commit is contained in:
@@ -105,7 +105,7 @@ function resolveBundleMcpConfigPaths(params: {
|
||||
return mergeUniquePathLists(defaults, declared);
|
||||
}
|
||||
|
||||
function extractMcpServerMap(raw: unknown): Record<string, BundleMcpServerConfig> {
|
||||
export function extractMcpServerMap(raw: unknown): Record<string, BundleMcpServerConfig> {
|
||||
if (!isRecord(raw)) {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user