UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

15 lines • 909 B
import { type Socket } from "node:net"; export interface RpcKeyOptions { /** Credential lookup only; never selects the session's configuration profile. */ readonly keyRoot?: string; /** Generation-private routes must prove this exact launch; legacy grace is not a route credential. */ readonly expectedLaunchId?: string; } export declare function withRpcKeyRoot<T>(root: string, operation: () => T): T; export declare function rpcKeyRoot(options?: RpcKeyOptions, defaultRoot?: string): string; /** A fresh connection per attempt, including the single refresh after a host's auth_failed. */ export declare function connectAuthenticatedRpcSocket(path: string, first?: Readonly<Record<string, unknown>>, options?: RpcKeyOptions, timeoutMs?: number): Promise<{ readonly socket: Socket; readonly protocol: Readonly<Record<string, unknown>>; }>; //# sourceMappingURL=rpc-auth-client.d.ts.map