UNPKG

@code-yeongyu/senpi

Version:

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

10 lines • 797 B
import type { ServerConnection } from "./connection.ts"; import { AuthError } from "./errors.ts"; export declare const MCP_PING_STALE_MS = 30000; export declare const MCP_PING_TIMEOUT_MS = 2000; export type McpEnsureFreshAuth = () => Promise<unknown>; export declare function ensureMcpToolCallConnection(connection: ServerConnection, ensureFresh?: McpEnsureFreshAuth): Promise<void>; export declare function withMcpSessionExpiryRetry<T>(connection: ServerConnection, operation: () => Promise<T>): Promise<T>; export declare function withMcpRetriableFailedSendRetry<T>(connection: ServerConnection, operation: () => Promise<T>): Promise<T>; export declare function markMcpConnectionNeedsAuth(connection: ServerConnection, error: unknown): AuthError | undefined; //# sourceMappingURL=health.d.ts.map