UNPKG

tinyagent

Version:

Connect your local shell to any device - access your dev environment from anywhere

72 lines 1.97 kB
interface ShellClientOptions { sessionId: string; relayUrl: string; shell: string; serverCommand?: string; serverPort?: number; createTunnel?: boolean; autoStartClaude?: boolean; password?: string; resumeClaude?: boolean; verbose?: boolean; } export declare class ShellClient { private options; private ws?; private ptyProcess?; private serverProcess?; private tunnelManager?; private heartbeatInterval?; private reconnectTimeout?; private portCheckInterval?; private isConnected; private spinner; private terminalBuffer; private exposedPorts; private lastKnownPorts; private portActivity; private stdinListener?; private lastInputSource; private lastInputTime; private terminalDimensions; private connectedClients; private clientTypes; private statusLineInterval?; private isShowingQR; private bufferedOutput; private currentCommand; private commandCheckInterval?; private viewMode; private statusBarEnabled; private scrollbackMode; constructor(options: ShellClientOptions); connect(): Promise<void>; private handleMessage; private startShell; private startServer; private handleCommand; private sendMessage; private startHeartbeat; private scheduleReconnect; private handleHttpRequest; private startPortDetection; private detectActivePorts; private isPortActive; private setupLocalInput; private cleanup; private checkAndStartClaude; private startStatusLine; private setupTerminalWithStatusBar; private updateStatusLine; private hideQRCode; private showQRCode; private toggleViewMode; private toggleStatusBar; private startCommandMonitoring; private checkRunningProcess; private detectCommand; private sendCommandUpdate; disconnect(): void; } export {}; //# sourceMappingURL=shell-client-v2.d.ts.map