/** * Unix Socket Client Transport * * Returns a ClientTransport that connects to a gateway over a Unix domain socket. * Lives in the gateway package (not client) because node:net is Node-only and * the client package must remain browser-compatible. * * This is a thin delegate over the shared createRPCTransport. The only * wire-specific logic is: open a net.Socket, frame messages as NDJSON. */ import type { ClientTransport } from "@agentick/shared"; export interface UnixSocketClientConfig { /** Path to the Unix domain socket */ socketPath: string; /** Client ID (auto-generated if not provided) */ clientId?: string; /** Authentication token */ token?: string; /** Reconnection settings */ reconnect?: { enabled?: boolean; maxAttempts?: number; delay?: number; }; /** Request timeout in ms (default: 30000) */ timeout?: number; /** Connection timeout in ms (default: 5000) */ connectTimeout?: number; } /** * Create a ClientTransport that connects to a gateway over a Unix domain socket. */ export declare function createUnixSocketClientTransport(config: UnixSocketClientConfig): ClientTransport; //# sourceMappingURL=unix-socket-client-transport.d.ts.map