Files
oh-my-opencode/dist/hooks/runtime-fallback/constants.d.ts
T
2026-03-14 04:56:50 +00:00

20 lines
610 B
TypeScript

/**
* Runtime Fallback Hook - Constants
*
* Default values and configuration constants for the runtime fallback feature.
*/
import type { RuntimeFallbackConfig } from "../../config";
/**
* Default configuration values for runtime fallback
*/
export declare const DEFAULT_CONFIG: Required<RuntimeFallbackConfig>;
/**
* Error patterns that indicate rate limiting or temporary failures
* These are checked in addition to HTTP status codes
*/
export declare const RETRYABLE_ERROR_PATTERNS: RegExp[];
/**
* Hook name for identification and logging
*/
export declare const HOOK_NAME = "runtime-fallback";