UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

22 lines • 743 B
import type { Theme } from "../../modes/interactive/theme/theme.ts"; export type WriteToolDetails = { readonly operation: "add" | "update"; readonly patch: string; }; export type WriteBaseline = { readonly kind: "missing"; } | { readonly kind: "present"; readonly content: string; } | { readonly kind: "unavailable"; }; export declare function createWriteDetails(path: string, content: string, baseline: WriteBaseline): WriteToolDetails | undefined; export declare function formatWriteResult(result: { readonly content: readonly { readonly type: string; readonly text?: string; }[]; readonly isError?: boolean; }, theme: Theme): string | undefined; //# sourceMappingURL=write-result.d.ts.map