UNPKG

@code-yeongyu/senpi

Version:

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

7 lines • 776 B
import type { ImageContent, TextContent } from "@earendil-works/pi-ai"; export declare const IMAGE_ELISION_PLACEHOLDER = "[Image elided: an older image was removed to keep the request within the provider's size limit. Re-read the source file if you need to view it again.]"; export declare function imageContentId(data: string): string; export declare function elidedImageIds(text: string): readonly string[] | undefined; /** Placeholder ids let the subscription lane's sent-stream digest match a placeholder to the image it replaced (senpi#2768). */ export declare function replaceElidedImages(content: readonly (TextContent | ImageContent)[], isElided: (blockIndex: number) => boolean): (TextContent | ImageContent)[]; //# sourceMappingURL=image-elision-placeholder.d.ts.map