opencoder
Version:
21 lines (20 loc) • 777 B
TypeScript
import type { CoderTool } from "@/tools/ai.js";
export declare function playwright({ executablePath, runner, }?: {
executablePath?: string;
runner?: "npx" | "bunx";
}): Promise<Record<string, CoderTool>>;
export declare function webSearch({ provider, }?: {
/**
* The provider to use for the web search.
*
* - `duckduckgo`: Uses DuckDuckGo for the search.
* - `brave`: Uses Brave Search for the search.
* - `searxng`: Uses SearxNG for the search. Requires SEARXNG_API_BASE_URL env
*/
provider?: "duckduckgo" | "brave" | "searxng";
}): Promise<Record<string, CoderTool>>;
export declare function createMcp({ name, command, args, }: {
name: string;
command: string;
args: string[];
}): Promise<Record<string, CoderTool>>;