chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
export declare function getErrorMessage(error: unknown): string;
export declare function extractStatusCode(error: unknown, retryOnErrors?: number[]): number | undefined;
export declare function extractErrorName(error: unknown): string | undefined;
export declare function classifyErrorType(error: unknown): string | undefined;
export interface AutoRetrySignal {
signal: string;
}
export declare const AUTO_RETRY_PATTERNS: Array<(combined: string) => boolean>;
export declare function extractAutoRetrySignal(info: Record<string, unknown> | undefined): AutoRetrySignal | undefined;
export declare function containsErrorContent(parts: Array<{
type?: string;
text?: string;
}> | undefined): {
hasError: boolean;
errorMessage?: string;
};
export declare function isRetryableError(error: unknown, retryOnErrors: number[]): boolean;