@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 622 B
TypeScript
import type { Client } from "@modelcontextprotocol/sdk/client/index.js";
import type { McpLogger } from "./log.ts";
export declare const MCP_LOG_RATE_LIMIT_PER_SECOND = 10;
export interface McpLoggingOptions {
readonly logger: McpLogger;
/** Minimum level to record (server config `logLevel`); default records all. */
readonly logLevel?: string;
readonly ratePerSecond?: number;
/** Test seam for deterministic bucket refill. */
readonly now?: () => number;
}
export declare function subscribeMcpServerLogging(client: Client, options: McpLoggingOptions): void;
//# sourceMappingURL=logging.d.ts.map