Skip to content

feat(core): add firecrawl developer search provider - #46534

Closed
erikengervall wants to merge 1 commit into
anomalyco:v2from
erikengervall:erik/firecrawl-developer-search
Closed

erikengervall wants to merge 1 commit into
anomalyco:v2from
erikengervall:erik/firecrawl-developer-search

Conversation

@erikengervall

Copy link
Copy Markdown
Contributor

Issue for this PR

None. This is a follow-up to #41042, which added the Firecrawl web search provider.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a second Firecrawl provider that sends categories: ["developer"] on the same firecrawl_search call. That searches an index of GitHub issues, merged PRs, READMEs and docs rather than the open web, so asking about a library's retry behaviour returns that library's own docs page instead of a blog post about it.

It is the same execute path as the existing provider with one extra argument, so the firecrawl provider is unchanged, and it still works without an API key.

One change outside the provider: the label helpers were refactored since #41042 and the TUI now capitalises the provider id, so firecrawl-developer would render as "Firecrawl-developer". I added a small override map for that.

Happy to redo this as a separate tool rather than a provider if you would prefer that shape.

How did you verify your code works?

  • bun typecheck in packages/core, packages/tui, packages/session-ui
  • bun run test in packages/core (websearch tests) and packages/tui (tool-display, plus a new case for the label)
  • Called the endpoint directly with the same arguments the provider sends, to confirm the response still parses with the existing schema

Screenshots / recordings

No UI change beyond the provider name in the picker and tool title.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@erikengervall
erikengervall force-pushed the erik/firecrawl-developer-search branch 3 times, most recently from e8c7dfc to 54cc636 Compare September 13, 2026 15:41
Second Firecrawl provider that passes categories: ["developer"] to the same
firecrawl_search call, searching an index of GitHub issues, merged pull
requests, READMEs and docs instead of the open web. Shares the execute path
with the existing provider, and works without an API key.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@erikengervall

Copy link
Copy Markdown
Contributor Author

Superseded by #49176, which rebuilds this as a separate, connection-gated devsearch tool per the review feedback.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant