UNPKG

@code-yeongyu/senpi

Version:

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

13 lines • 746 B
/** Record-compaction primitives of the shared stdio lane (moved verbatim from session-event-writer.ts). */ export type RpcRecord = Record<string, unknown>; export type CompactDeltaType = "text_delta" | "thinking_delta" | "toolcall_delta"; export declare const MESSAGE_KEY = "message"; export declare function compactDelta(value: RpcRecord): { type: CompactDeltaType; contentIndex: number; delta: string; } | undefined; /** The delta-only form of a compact message_update: cumulative snapshot fields blanked, delta kept. */ export declare function demoteToDeltaOnly(value: RpcRecord): RpcRecord; export declare function toolUpdateKey(value: RpcRecord): string | undefined; //# sourceMappingURL=session-event-writer-compaction.d.ts.map