( clients: MCPServerConnection[], )
| 21 | let inflightPromise: Promise<string[]> | null = null |
| 22 | |
| 23 | function findSlackClient( |
| 24 | clients: MCPServerConnection[], |
| 25 | ): MCPServerConnection | undefined { |
| 26 | return clients.find(c => c.type === 'connected' && c.name.includes('slack')) |
| 27 | } |
| 28 | |
| 29 | async function fetchChannels( |
| 30 | clients: MCPServerConnection[], |
no outgoing calls
no test coverage detected