/** * Session summary generation for the resume picker. * * Runs once the agent goes idle, decides whether a fresh summary is worth generating, and * persists the result. Generation itself lives in core/compaction/session-summarization.ts. */ import type { AgentSessionInternalSurface as AgentSession } from "./agent-session-methods.ts"; /** A summary request in flight, published so a launch describing the same state can join it. */ export type SessionSummaryRun = { /** The conversation state this request describes. */ readonly throughId: string; /** Settles when the request finishes, whatever the outcome. */ readonly done: Promise; }; export declare function _maybeGenerateSessionSummary(this: AgentSession): Promise; export declare function abortSessionSummary(this: AgentSession): void; export declare const agentSessionSummaryMethods: { _maybeGenerateSessionSummary: typeof _maybeGenerateSessionSummary; abortSessionSummary: typeof abortSessionSummary; }; //# sourceMappingURL=agent-session-summary.d.ts.map