mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-16 13:11:33 +00:00
* feat(firecrawl): add keyless Firecrawl Search (Free) provider + richer firecrawl_search options Add an opt-in, keyless 'firecrawl-free' web_search provider (Firecrawl Search (Free)) mirroring the Parallel plugin's parallel-free pattern: requiresCredential false, no autoDetectOrder, never auto-selected. The free path is credential-isolated — it never resolves or sends any Firecrawl API key (no Authorization header), so opting out of credentials cannot leak a configured/paid key — and its results and cache key carry a distinct 'firecrawl-free' provider identity. The keyed 'firecrawl' provider and core search auto-select behavior are unchanged, honoring the maintainers' opt-in policy for keyless search. Registered in index.ts, the web-search-provider barrel, the web-search-contract-api metadata artifact (the onboarding/setup source), manifest contracts, the official external plugin catalog snapshot, and the doctor/contract registries. Also extend the firecrawl_search tool to /v2/search parity: includeDomains/excludeDomains (mutually exclusive), tbs, location, country, and raise the result cap to 100. * docs: regenerate docs_map for firecrawl heading rename --------- Co-authored-by: developersdigest <jonathan@sideguide.dev>
21 lines
1.1 KiB
TypeScript
21 lines
1.1 KiB
TypeScript
// Firecrawl plugin entrypoint registers its OpenClaw integration.
|
|
import { definePluginEntry, type AnyAgentTool } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { createFirecrawlWebFetchProvider } from "./src/firecrawl-fetch-provider.js";
|
|
import { createFirecrawlFreeWebSearchProvider } from "./src/firecrawl-free-search-provider.js";
|
|
import { createFirecrawlScrapeTool } from "./src/firecrawl-scrape-tool.js";
|
|
import { createFirecrawlWebSearchProvider } from "./src/firecrawl-search-provider.js";
|
|
import { createFirecrawlSearchTool } from "./src/firecrawl-search-tool.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "firecrawl",
|
|
name: "Firecrawl Plugin",
|
|
description: "Bundled Firecrawl search and scrape plugin",
|
|
register(api) {
|
|
api.registerWebFetchProvider(createFirecrawlWebFetchProvider());
|
|
api.registerWebSearchProvider(createFirecrawlWebSearchProvider());
|
|
api.registerWebSearchProvider(createFirecrawlFreeWebSearchProvider());
|
|
api.registerTool(createFirecrawlSearchTool(api) as AnyAgentTool);
|
|
api.registerTool(createFirecrawlScrapeTool(api) as AnyAgentTool);
|
|
},
|
|
});
|