@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 922 B
TypeScript
import type { AgentTool } from "@earendil-works/pi-agent-core";
import type { ToolDefinition } from "../extensions/types.ts";
import { type CoreWriteToolOptions, type writeSchema } from "./write-core.ts";
import type { WriteToolDetails } from "./write-result.ts";
export { type WriteOperations, type WriteToolInput, writeToolSystemPromptContribution } from "./write-core.ts";
export interface WriteToolOptions extends Pick<CoreWriteToolOptions, "operations" | "filesystemPolicy"> {
/** Operation layer and policy gate. Default: the process-wide local machine. */
machine?: CoreWriteToolOptions["machine"];
}
export declare function createWriteToolDefinition(cwd: string, options?: WriteToolOptions): ToolDefinition<typeof writeSchema, WriteToolDetails | undefined>;
export declare function createWriteTool(cwd: string, options?: WriteToolOptions): AgentTool<typeof writeSchema>;
//# sourceMappingURL=write.d.ts.map