(clientName: string, name: string)
| 117 | export const sanitize = (value: string) => value.replace(/[^a-zA-Z0-9_-]/g, "_") |
| 118 | |
| 119 | export const toolName = (clientName: string, name: string) => sanitize(clientName) + "_" + sanitize(name) |
| 120 | |
| 121 | export function prompts(client: Client, timeout?: number) { |
| 122 | if (!client.getServerCapabilities()?.prompts) return Promise.resolve([]) |
nothing calls this directly
no test coverage detected