Skip to content

fix: support multi-word plugin search - #284

Open
yashkhatri012 wants to merge 1 commit into
agentrhq:mainfrom
yashkhatri012:fix/multi-word-plugin-search
Open

fix: support multi-word plugin search#284
yashkhatri012 wants to merge 1 commit into
agentrhq:mainfrom
yashkhatri012:fix/multi-word-plugin-search

Conversation

@yashkhatri012

Copy link
Copy Markdown

What

Fixes multi-word plugin searches by normalizing query tokens and requiring all tokens to match the plugin name/description.

Example

Previously:
webcmd plugin search "hacker news" → no results

Now:
webcmd plugin search "hacker news" → finds hackernews

Also handles separator variants such as hacker-news.

Tests

  • Added regression coverage for multi-word and separator variants
  • Added coverage ensuring all query terms must match
  • npx vitest run src/plugin-catalog.test.ts — 9/9 passing
  • npm run typecheck — passing

Fixes #282

@github-actions

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

The automated review could not reach a fully supported conclusion.

This review is advisory and does not block merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugin search: multi-word queries return nothing ("hacker news" misses hackernews)

1 participant