MCP-SuperAssistant/dist/gateways/stdioToStatefulStreamableHttp.d.ts

16 lines
562 B
TypeScript

import { type CorsOptions } from 'cors';
import { Logger } from '../types.js';
export interface StdioToStreamableHttpArgs {
stdioCmd: string;
port: number;
host: string;
baseUrl?: string;
streamableHttpPath: string;
logger: Logger;
corsOrigin: CorsOptions['origin'];
healthEndpoints: string[];
headers: Record<string, string>;
sessionTimeout: number | null;
}
export declare function stdioToStatefulStreamableHttp(args: StdioToStreamableHttpArgs): Promise<void>;
//# sourceMappingURL=stdioToStatefulStreamableHttp.d.ts.map