/** * ACP (Agent Client Protocol) stdio bridge for GSK task agents. * * Speaks ACP JSON-RPC over stdin/stdout, internally calls GSK backend APIs. * Usage: gsk task --acp * * Protocol: NDJSON (one JSON-RPC 2.0 message per line on stdin/stdout) */ import type { GlobalOptions } from './types.js'; export interface PersistedSession { sessionId: string; taskType: string; projectId: string; createdAt: string; } export declare function getSessionStorePath(): string; export declare function sanitizeId(id: string): string; export declare function loadPersistedSession(sessionId: string): PersistedSession | null; /** * Start the ACP stdio bridge for a given task type. */ export declare function startAcpBridge(taskType: string, globalOpts: GlobalOptions): Promise; //# sourceMappingURL=acp-serve.d.ts.map