@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
21 lines • 742 B
TypeScript
import type { Usage } from "@earendil-works/pi-ai";
import type { SessionEntry } from "../../../session-manager.ts";
export declare const PROMPT_CACHE_PREWARM_ENTRY_TYPE = "prompt-cache-prewarm";
export type PromptCachePrewarmEntryData = {
readonly phase: "warmed";
readonly provider: string;
readonly model: string;
readonly usage: Usage;
} | {
readonly phase: "failed";
readonly provider: string;
readonly model: string;
readonly error: string;
} | {
readonly phase: "skipped";
readonly provider: string;
readonly model: string;
readonly reason: string;
};
export declare function getPromptCachePrewarmUsage(entry: SessionEntry): Usage | undefined;
//# sourceMappingURL=prewarm-entry.d.ts.map