shellx-ai
Version:
shellx is a powerful WebSocket-based client for controlling shell commands and UI automation on remote devices.
14 lines (13 loc) • 406 B
TypeScript
export interface TaskClientConfig {
timeout: number;
reconnect: boolean;
reconnectMaxAttempts: number;
reconnectInterval: number;
pingInterval: number;
onOpen: () => void;
onClose: (event?: CloseEvent) => void;
onError: (error?: Event) => void;
onReconnectFailed: () => void;
onMessage?: (data: any) => void;
}
export declare const DEFAULT_CONFIG: TaskClientConfig;