/** * Claude Code ACP transport binding module. * * Exports `createBinding()` returning a `LocalAgentBinding` that connects * to a Claude Code ACP stdio process and translates between Tisyn protocol * and ACP protocol messages. * * The binding handles the Tisyn initialize handshake internally — ACP * processes don't speak Tisyn protocol, so the binding synthesizes the * InitializeResponse that `createSession()` expects. */ import type { LocalAgentBinding } from "@tisyn/transport"; import type { AcpAdapterConfig } from "./acp-adapter.js"; export type { SessionHandle, PromptResult, PlanResult, ForkData } from "./types.js"; export type { AcpAdapterConfig } from "./acp-adapter.js"; export { createSdkBinding } from "./sdk-adapter.js"; export type { SdkAdapterConfig } from "./sdk-adapter.js"; export { createMockClaudeCodeTransport } from "./mock.js"; export type { MockClaudeCodeConfig, MockOperationConfig } from "./mock.js"; /** * Create a LocalAgentBinding for the Claude Code ACP transport. * * The binding connects to an ACP stdio process (spawned or pre-existing) * and translates between Tisyn and ACP protocol messages. * * The ACP process is transport-external — when the transport scope exits, * only the logical connection is closed. The process is not terminated. */ export declare function createBinding(config?: AcpAdapterConfig): LocalAgentBinding; //# sourceMappingURL=index.d.ts.map