Skip to content

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

356 B
Raw Blame
import type { CodingToolRegistration } from "../../tool-registration.js";
import { createWriteTool, type WriteToolInput, type WriteToolOptions } from "./write-tool.js";

export function createWriteToolRegistration(
	cwd: string,
	options: WriteToolOptions,
): CodingToolRegistration<WriteToolInput> {
	return {
		tool: createWriteTool(cwd, options),
	};
}