import type { Message, Provider, ThinkingLevel } from "@kenkaiiii/gg-ai"; export interface CliConfig { provider: Provider; model: string; baseUrl?: string; cwd: string; sessionId?: string; continueRecent?: boolean; systemPrompt?: string; thinkingLevel?: ThinkingLevel; printMessage?: string; outputFormat?: "text" | "json"; } export interface SessionHeader { type: "session"; version: 1; id: string; timestamp: string; cwd: string; provider: Provider; model: string; } export interface SessionMessageEntry { type: "message"; timestamp: string; message: Message; } export type SessionEntry = SessionHeader | SessionMessageEntry; export interface SessionInfo { id: string; path: string; timestamp: string; /** Timestamp of the most recent message (falls back to creation timestamp). */ lastActivity: string; cwd: string; messageCount: number; /** * First user-authored prompt, for use as a human title. Filled during the * single pass the listing already makes over each file, so a caller that * needs titles does not have to reopen them all. Undefined when the session * has no user prompt of its own. */ preview?: string; } //# sourceMappingURL=types.d.ts.map