(record: PluginRecord)
| 443 | } |
| 444 | |
| 445 | function pluginMcpServersInfo(record: PluginRecord): readonly PluginMcpServerInfo[] { |
| 446 | return Object.entries(record.manifest?.mcpServers ?? {}) |
| 447 | .map(([name, config]) => pluginMcpServerInfo(record, name, config)) |
| 448 | .toSorted((a, b) => a.name.localeCompare(b.name)); |
| 449 | } |
| 450 | |
| 451 | function pluginMcpServerInfo( |
| 452 | record: PluginRecord, |
no test coverage detected