@inso_web/els-mcp
Version:
MCP-сервер поверх INSO Error Logs Service. Read-only tools (search, analytics, fingerprinting, correlations) для подключения Claude Desktop/Code и ChatGPT к логам ошибок. Streamable HTTP transport + stdio для npx-запуска.
14 lines • 659 B
TypeScript
import type { ErrorLog, ErrorLogCompact, ErrorLogSummary, ResponseFormat } from '../types.js';
export interface ApplyResponseFormatResult<T> {
items: T[];
truncated: boolean;
}
export declare function applyResponseFormat(items: ErrorLog[], format: ResponseFormat): ApplyResponseFormatResult<ErrorLog | ErrorLogCompact | ErrorLogSummary>;
/**
* Сокращает поля одного ErrorLog (для get_log_details при compact-format).
*/
export declare function applyResponseFormatSingle(row: ErrorLog, format: 'compact' | 'full'): {
log: ErrorLog | ErrorLogCompact;
truncated: boolean;
};
//# sourceMappingURL=responseFormat.d.ts.map