(tokens: readonly string[])
| 575 | const pathTokens = tokenizeSearchText(tool.path); |
| 576 | |
| 577 | const isPrefixMatch = (tokens: readonly string[]): boolean => |
| 578 | namespaceTokens.every((token, index) => tokens[index] === token); |
| 579 | |
| 580 | return isPrefixMatch(integrationTokens) || isPrefixMatch(pathTokens); |
| 581 | }; |