/** * Autopilot Ken for `ggcoder acp`: the reviewer session the autopilot cycle * prompts. Built like the desktop's `ensureKenAutoSession` (app-sidecar.ts): * Ken's autopilot system prompt, Ken's read-only tool set, a transient * session, long cache retention, and the project's Ken model pin when one is * valid (otherwise Ken follows GG Coder's model, as on the desktop). */ import type { Provider } from "@kenkaiiii/gg-ai"; /** The reviewer the ACP autopilot cycle talks to. A seam so tests can script Ken. */ export interface AcpKenReviewer { /** Wipe review history (start of each cycle). */ reset(): Promise; /** Prompt Ken with a digest; resolves to his final reply text. */ review(digest: string): Promise; /** Stop an in-flight review (session/cancel, queued message). */ abort(): void; dispose(): Promise; } export interface AcpKenReviewerOptions { cwd: string; /** GG Coder's current model; Ken follows it unless the project pins his own. */ buildModel: () => { provider: Provider; model: string; }; } export declare function createAcpKenReviewer(options: AcpKenReviewerOptions): AcpKenReviewer;