@mariozechner/pi-coding-agent
Version:
Coding agent CLI with read, bash, edit, write tools and session management
21 lines • 799 B
TypeScript
import type { ImageContent, TextContent } from "@mariozechner/pi-ai";
export declare function shortenPath(path: unknown): string;
export declare function str(value: unknown): string | null;
export declare function replaceTabs(text: string): string;
export declare function normalizeDisplayText(text: string): string;
export declare function getTextOutput(result: {
content: Array<{
type: string;
text?: string;
data?: string;
mimeType?: string;
}>;
} | undefined, showImages: boolean): string;
export type ToolRenderResultLike<TDetails> = {
content: (TextContent | ImageContent)[];
details: TDetails;
};
export declare function invalidArgText(theme: {
fg: (name: any, text: string) => string;
}): string;
//# sourceMappingURL=render-utils.d.ts.map