UNPKG

tinyagent

Version:

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

42 lines 1.05 kB
import { SecurityTier } from './messages'; export interface SessionMetadata { sessionId: string; createdAt: number; lastActivity: number; mobileConnected: boolean; shellConnected: boolean; tunnelUrl?: string; tunnelPort?: number; currentCommand?: string; securityTier: SecurityTier; hasPassword: boolean; ownerId?: string; ownerEmail?: string; } export interface SessionConfig { sessionId: string; relayUrl: string; shell?: string; serverCommand?: string; serverPort?: number; } export interface TunnelProvider { type: 'localtunnel' | 'ngrok'; config?: Record<string, any>; } export interface SessionCreationResponse { sessionId: string; sessionToken: string; metadata: SessionMetadata; } export interface SessionCreationRequest { sessionId?: string; password?: string; isPublic?: boolean; } export interface SessionSecurityInfo { securityTier: SecurityTier; hasPassword: boolean; hasOwner: boolean; } //# sourceMappingURL=session.d.ts.map