MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / buildToolAliasMap

Function buildToolAliasMap

src/utils/tool-registry.ts:107–114  ·  view source on GitHub ↗
(manifest: ResolvedManifest)

Source from the content-addressed store, hash-verified

105}
106
107function buildToolAliasMap(manifest: ResolvedManifest): Map<string, string> {
108 const toolIdByAlias = new Map<string, string>();
109 for (const tool of manifest.tools.values()) {
110 toolIdByAlias.set(normalizeName(tool.id), tool.id);
111 toolIdByAlias.set(normalizeName(tool.names.mcp), tool.id);
112 }
113 return toolIdByAlias;
114}
115
116function resolveCustomWorkflowToolIds(
117 toolIdByAlias: Map<string, string>,

Callers 1

Calls 1

normalizeNameFunction · 0.85

Tested by

no test coverage detected