Repository navigation
[pull] main from firecrawl:main - #465
Merged
Merged
Conversation
* feat(api): make search and 404 agent hints specific Search excerpt hints now name the excerpt-only results by position and URL (up to three, then a count). Source-page 404/410 hints prefill a site-scoped search query from the dead URL's path and name the redirect when sourceURL and the final URL differ. Both still read only response fields already in memory. Motivated by EXP-059 (agent-experience): 12/18 agents that saw hints asked which result lacked content; 3/18 asked for the 404 redirect or replacement path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(api): X-Firecrawl-Agent-Hints: mcp names the MCP search/scrape tools With the header value "mcp", search and scrape suggestions say firecrawl_search / firecrawl_scrape instead of POST /v2/search and POST /v2/scrape. "true" keeps REST wording for the CLI and other adapters; map, crawl and interact keep their REST paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(api): quote hint URLs, use result position, drop ULIDs; always name MCP tools - Result and redirect URLs in hints are parsed http(s) hrefs (whitespace and quotes percent-encoded), capped at 200 chars and JSON-quoted; unusable URLs are listed by position only. - Excerpt labels use each result's position, falling back to array order. - Opaque-id filter also drops ULIDs and long mixed alphanumeric tokens. - Search/scrape suggestions always say firecrawl_search / firecrawl_scrape; the X-Firecrawl-Agent-Hints: mcp value is removed (only MCP and CLI opt in). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(api): snip expects firecrawl_search in the 404 hint Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 馃挅 Please sponsor : )