mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-26 09:35:52 +00:00
Major improvements to the iOS VibeTunnel app: SwiftTerm Integration: - Properly integrated SwiftTerm 1.2.5 for terminal emulation - Fixed naming conflicts and API compatibility issues - Added proper actor isolation with @preconcurrency - Terminal data now feeds correctly via SSE streams Session Management: - Fixed session model to match Go server's JSON response format - Added CodingKeys mapping for field name differences (cmdline, cwd, etc.) - Support for "starting" session status - Enhanced date parsing for both ISO8601 and RFC3339 formats Working Directory Fixes: - Changed default working directory from iOS sandbox to server paths - Now uses ~/ as default (matching web frontend) - Added common server directories as quick options - Server expands ~ to actual home directory Terminal Streaming: - Implemented Asciinema cast v2 format parsing - SSE client properly handles output, resize, and exit events - Added terminal snapshot loading for existing sessions - Fixed special key handling with proper ANSI escape sequences UI Improvements: - Updated session list to grid layout (2 columns) - Added session count and "Kill All" functionality - Redesigned session cards with inline kill/clean buttons - Shows command and working directory in session preview Error Handling: - Added comprehensive logging for debugging - Enhanced error messages for better user experience - Detailed API request/response logging - Network error descriptions (connection refused, timeout, etc.) Server Configuration: - Set default server address to 127.0.0.1:4020 - Sessions now created with spawn_terminal: false for PTY mode - Both web and iOS clients can share terminal sessions The iOS app now provides a full terminal experience using SwiftTerm, mirroring the web frontend's functionality with proper server integration. |
||
|---|---|---|
| .. | ||
| modern-swift.md | ||
| spec.md | ||