(manifest: ResolvedManifest)
| 105 | } |
| 106 | |
| 107 | function 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 | |
| 116 | function resolveCustomWorkflowToolIds( |
| 117 | toolIdByAlias: Map<string, string>, |
no test coverage detected