(tokens: readonly string[])
| 567 | const pathTokens = tokenizeSearchText(tool.path); |
| 568 | |
| 569 | const isPrefixMatch = (tokens: readonly string[]): boolean => |
| 570 | namespaceTokens.every((token, index) => tokens[index] === token); |
| 571 | |
| 572 | return isPrefixMatch(integrationTokens) || isPrefixMatch(pathTokens); |
| 573 | }; |