/** * Automation-only Agent Client Protocol server over JSON-RPC stdio. * * The bridge exposes persistent harness sessions to trusted programmatic * clients. It carries standard configuration, MCP mounts, prompt content, * committed semantic updates, cancellation, and one-shot permission decisions; * presentation and human-interaction features stay with the harness's UI modules. * * @module @deepseek-ai/dsh-acp */ import type { Context } from '@deepseek-ai/cordis'; import Schema from '@deepseek-ai/schemastery'; import { type Stream } from '@agentclientprotocol/sdk'; export declare const name = "acp"; /** Core services required by the standard automation controls. */ export declare const inject: string[]; /** Plugin config: the provider/model selection used for each ACP-created agent. */ export interface AcpConfig { /** Provider route for created agents. */ provider?: string; /** Model name for created agents. */ model?: string; /** Maximum summaries returned by one session/list page. */ sessionListPageSize?: number; /** Runtime-only transport override; production uses stdio. */ stream?: Stream; } export declare const Config: Schema; /** * Mount the automation-only ACP server. * @param ctx - Cordis context carrying the agent factory and session events. * @param config - Initial provider/model selection and optional test transport. */ export declare function apply(ctx: Context, config: AcpConfig): void; //# sourceMappingURL=index.d.ts.map