@utaba/ucm-mcp-server
Version:
Universal Context Manager MCP Server - AI-native artifact management
25 lines • 760 B
TypeScript
export interface ChunkedResponse {
chunk: {
id: string;
sequence: number;
total: number;
data: string;
};
hasMore: boolean;
}
export declare class ResponseChunker {
private static readonly MAX_CHUNK_SIZE;
private static chunks;
private static readonly CHUNK_TTL;
private static chunkTimestamps;
static chunk(data: any, chunkId?: string): ChunkedResponse | any;
static getNextChunk(chunkId: string, sequence: number): ChunkedResponse | null;
static cleanup(chunkId: string): void;
static cleanupExpired(): void;
static getChunkInfo(chunkId: string): {
exists: boolean;
total?: number;
expires?: number;
};
}
//# sourceMappingURL=ResponseChunker.d.ts.map