import type { DriverTarget } from "@skaile/workspaces/plugin-registry"; import type { Logger } from "@skaile/workspaces/types"; import type { ModelEntry } from "../models.js"; import type { AgentConfig, DriverInfo } from "../types.js"; import { SubprocessCliDriver } from "./_subprocess-cli.js"; /** * Agent driver for the **Continue CLI** (`cn`), the model-agnostic agent backed * by Continue Hub / `config.yaml` assistants. * * Unlike the other CLI drivers, `cn -p "" --format json` emits a single * **final-result JSON wrapper**, not a streaming event log. This driver runs in * `mode: "buffered"`: the base accumulates all stdout and {@link handleBuffered} * parses it once on exit — so there are no incremental deltas or per-tool * events, only a final assistant message plus a result. * * @remarks * - Auth via `CONTINUE_API_KEY` / `cn login`; provider keys flow through the * environment and the selected `config.yaml`. * - `--config ` selects the assistant; session resume via `--resume` * (last session only — Continue has no resume-by-id in headless mode). * * @see https://docs.continue.dev/guides/cli * @docLink packages/bridge/drivers#continue-driver */ export declare class ContinueDriver extends SubprocessCliDriver { readonly driverInfo: DriverInfo; protected readonly log: Logger; protected readonly defaultBin = "cn"; protected readonly productName = "Continue CLI"; protected readonly envPrefix = "CONTINUE"; protected readonly mode: "buffered"; protected buildArgs(message: string, resumeId: string | undefined): string[]; protected buildEnv(): Record; protected installHint(): string; protected handleBuffered(raw: string): void; listModels(): Promise; } /** * `DriverTarget` wrapper for the continue driver. Registered into the plugin * registry by `registerBuiltinDrivers()`. */ export declare const continueDriverTarget: DriverTarget; //# sourceMappingURL=continue.d.ts.map