Skip to content

Open-source, local-first AI agent for real work.

353 B
Raw Blame
import type { CodingToolRegistration } from "../../tool-registration.js";
import { createGrepTool, type GrepToolInput, type GrepToolOptions } from "./grep-tool.js";

export function createGrepToolRegistration(
	cwd: string,
	options: GrepToolOptions = {},
): CodingToolRegistration<GrepToolInput> {
	return {
		tool: createGrepTool(cwd, options),
	};
}