UNPKG

@turbot/tailpipe-mcp

Version:

Tailpipe MCP server to query cloud and security logs using AI.

21 lines (20 loc) 549 B
export interface CommandOptions { env?: NodeJS.ProcessEnv; maxBuffer?: number; } export interface CommandError extends Error { stdout?: string; stderr?: string; cmd?: string; code?: number | string; signal?: string; } export declare const MAX_BUFFER_SIZE: number; export declare function executeCommand(cmd: string, options?: CommandOptions): string; export declare function formatCommandError(error: unknown, context?: string): { isError: true; content: { type: "text"; text: string; }[]; };