VibeTunnel iOS is a native SwiftUI application that provides a beautiful, native interface to the VibeTunnel terminal multiplexer backend. The app allows users to create, manage, and interact with terminal sessions on their Mac from their iOS/iPadOS devices.
// Session Modelstruct Session: Codable, Identifiable { let id: String let command: String let workingDir: String let name: String? let status: SessionStatus let exitCode: Int? let startedAt: Date let lastModified: Date let pid: Int? let waiting: Bool? let width: Int? let height: Int?}enum SessionStatus: String, Codable { case running case exited}// Server Configurationstruct ServerConfig: Codable { let host: String let port: Int let name: String? var baseURL: URL { URL(string: "http://\(host):\(port)")! }}// Terminal Eventstruct TerminalEvent { let timestamp: Double let type: EventType let data: String enum EventType: String { case output = "o" case input = "i" case resize = "r" case marker = "m" }}
This specification outlines a comprehensive native iOS/iPadOS client for VibeTunnel that leverages SwiftUI and SwiftTerm to provide a superior terminal experience compared to the web interface. The app will be fast, responsive, and take full advantage of native iOS features while maintaining feature parity with the web frontend.