/** * Error handling utilities for consistent error responses */ /** * Create standardized error response for MCP tools */ export function createErrorResponse(error: any): { content: { type: string; text: string; }[]; isError: boolean; }; /** * Create standardized success response for MCP tools */ export function createSuccessResponse(text: any): { content: { type: string; text: any; }[]; }; /** * Custom error classes for better error handling */ export class TaskNotFoundError extends Error { constructor(taskId: any); taskId: any; } export class ExecutionError extends Error { constructor(message: any, exitCode?: null); exitCode: any; } export class ValidationError extends Error { constructor(message: any); } //# sourceMappingURL=errors.d.ts.map