(value: string)
| 51 | // keep a domain error that merely mentions "not found" from matching. A miss |
| 52 | // is benign (the catalog still heals via TTL or explicit refresh). |
| 53 | const escapeRegExp = (value: string): string => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 54 | |
| 55 | export const isUnknownToolMessage = (message: string, toolName: string): boolean => { |
| 56 | const name = escapeRegExp(toolName); |
no test coverage detected