UNPKG

@code-yeongyu/senpi

Version:

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

15 lines • 875 B
import type { McpServerConfig } from "./config-schema.ts"; import type { ServerConnection } from "./connection.ts"; import type { McpLogger } from "./log.ts"; export declare const MCP_KEEP_ALIVE_INTERVAL_MS = 30000; interface McpLifecycleDebugSnapshot { inFlight: number; idleTimerHasRef: boolean | null; keepAliveTimerHasRef: boolean | null; } export declare function configureMcpConnectionLifecycle(connection: ServerConnection, config: McpServerConfig, logger: McpLogger): void; export declare function disposeMcpConnectionLifecycle(connection: ServerConnection): void; export declare function runMcpConnectionLifecycleCall<T>(connection: ServerConnection, fn: () => Promise<T>): Promise<T>; export declare function getMcpLifecycleDebugSnapshot(connection: ServerConnection): McpLifecycleDebugSnapshot | undefined; export {}; //# sourceMappingURL=idle.d.ts.map