@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
23 lines • 850 B
TypeScript
import { Container } from "@earendil-works/pi-tui";
import type { ToolExecutionResult } from "./tool-execution-types.ts";
export type ToolExecutionImageOptions = {
readonly showImages: boolean;
readonly maxWidthCells: number;
readonly showRendererFallback: boolean;
};
export declare class ToolExecutionImages extends Container {
private readonly onAsyncChange;
private result?;
private resultGeneration;
private readonly convertedImages;
private options;
constructor(onAsyncChange: () => void);
updateOptions(options: ToolExecutionImageOptions): void;
updateResult(result: ToolExecutionResult): void;
private imageBlocks;
private pruneConvertedImages;
private maybeConvertImagesForKitty;
private rebuild;
private addImageComponent;
}
//# sourceMappingURL=tool-execution-images.d.ts.map