- Add proper --dry-run support to release.sh that prevents file modifications
- Fix iOS Info.plist to use $(MARKETING_VERSION) and $(CURRENT_PROJECT_VERSION)
- Update CHANGELOG.md lookup to prefer project root location
- Add comprehensive RELEASE_PROCESS.md documentation
- Improve error messages and parameter validation in release script
- Fix confusing warnings about CHANGELOG.md location
These changes make the release process more robust and less error-prone.
- Add comprehensive user-focused changelog entries for beta.7
- Update release date to July 8, 2025
- Include all major features: screen sharing, magic wand, performance fixes
- Document critical bug fixes including terminal freezing and UI performance
- Add mobile/tablet improvements and developer experience enhancements
- Use Xcode's default derived data path by default
- Only use custom derived data in CI or when explicitly requested
- Prevents Swift packages from being re-resolved after each build
- No more need to close/reopen Xcode after building
Set USE_CUSTOM_DERIVED_DATA=YES to use the old behavior
- Add SHA256 hash comparison for vt script updates
- Check vt script version on app startup
- Show welcome dialog when vt script is outdated
- Add update prompts in both Welcome and Settings views
- Ensures users always have the latest vt features (like 'vt title')
Fixes#245
Always reserve space for copy icon, use opacity instead of conditional rendering.
This prevents layout shifts when hovering over server addresses.
Fixes#247
- Swap file picker and settings buttons in session header (settings now at the end)
- Disable all button transitions in session view with body.in-session-view
- Disable modal backdrop fade-in animation (0.3s) in session view
- Fix file browser briefly showing then going dark by preventing event bubbling
- Add stopPropagation to file browser button click to prevent duplicate modals
The session detail page should now have zero animations when toggling sidebar
or opening modals.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove animate-fade-in class from compact mode session list items
- Prevent sessions-showing/hiding animation classes when in session detail view
- Disable View Transitions API for navigating back from session detail view
- Add body.in-session-view class to disable all animations in session view
- Remove transition-all duration-200 from compact session list items
- Disable grid transitions when in session view
This eliminates all staggered animations and transitions that were causing
the perceived 1-2 second delay when toggling the sidebar in session detail view.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Make inline-edit pencil always visible on touch devices with CSS media query
- Remove terminal resize animation (transition: all 0.3s ease-out)
- Remove magic wand AI button that was confusing users
- Reorganize touch device layout: close button left of time
- Disable View Transitions API for session navigation
- Add CSS overrides to disable all button transitions in session view
- Fix TypeScript errors by adding missing handleDeleteSession method
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add check for session detail view in handleCreateSession()
- Add check for session detail view in handleCreateModalClose()
- Modal now appears/disappears instantly in session detail view
- Animation preserved in grid view where it works properly
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove duplicate screen share button from sidebar
- Remove file browser button from sidebar
- Remove file picker/upload button from session header
- Move settings/notification icon from sidebar to session header (next to file browser)
- Disable sidebar slide animations to prevent terminal resize issues
- Simplify sidebar to only show Create Session button and User menu
- Settings button is now in session detail view for better context
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove tablet-specific renderTabletLayout() method
- Remove deviceType property from terminal-quick-keys component
- Remove tablet-specific CSS classes (.tablet-layout, .compact)
- Simplify code to use the same 3-row keyboard for all mobile devices
- Provides consistent experience across iPhone and iPad
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace user agent detection with capability-based detection
- Support any touch device (iPad, Android, Surface, etc.)
- Add smart detection for hybrid devices (touch + trackpad)
- Add user preference support (auto/always/never)
- Add keyboard mode toggle button in mobile controls
- Fix landscape mode detection on all touch devices
- Use hardware capabilities instead of brittle UA strings
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Pass isMobile instead of isPhone to setupMobileFeatures and setupEventListeners
- Tablets need VirtualKeyboard API, Visual Viewport API, and touch event listeners
- Only the keyboard layout should differ between phones and tablets, not core mobile features
- Detect device type (phone vs tablet) based on screen size
- Show custom keyboard on iPads with optimized compact layout
- Portrait mode: 2 rows with essential terminal keys
- Landscape mode: Single row with most important keys
- Properly handle device rotation and window resizing
- Add TypeScript declarations for window.__deviceType
Fixes#223
The magic wand feature now uses emphatic language to ensure AI assistants
use the 'vt title' command instead of injecting terminal escape sequences.
This prevents Claude from being "too smart" and bypassing our title filtering.
Fixes#248
- Ensure bash, zsh, and fish spawn as login shells to read config files
- Add -i and -l flags for bash/zsh, --interactive and --login for fish
- Avoid duplicate flags if already present
- Add user feedback when starting shells in login mode
Fixes#251
The redundant SCRIPT_DIR assignment on line 20 used ${BASH_SOURCE[0]:-} which
would expand to an empty string in zsh, causing dirname "" to return the current
directory instead of the script's directory. This led to script failures when
not run from its own directory.
Since SCRIPT_DIR is already correctly set earlier (lines 11-15) with proper
zsh handling, the redundant line has been removed.
* Fix HTTP 401 errors from non-existent snapshot endpoint
SessionCardView was calling APIClient.getSessionSnapshot() which hits
/api/sessions/{id}/snapshot - an endpoint that doesn't exist on the server.
This caused 401 errors to be logged on every session card load.
Changes:
- Remove REST API snapshot calls from SessionCardView
- Rely entirely on WebSocket-based live preview system
- Simplify SessionCardView to be a pure presentation component
- Add comprehensive API request logging for debugging
- Align iOS implementation with working web client approach
The web client uses WebSocket /buffers for real-time previews, not REST APIs.
SessionCardView now follows proper architectural patterns where the view
doesn't make direct API calls.
Fixes the 401 errors while maintaining all preview functionality.
* Remove excessive debug logging
Clean up the verbose logging that was added for debugging the 401 issue.
Keep essential error logging but remove:
- Detailed request URLs in normal flow
- Success confirmation logs
- Verbose connection state logging
- Emoji prefixes and excessive formatting
The 401 issue is resolved, so the debug logs are no longer needed.
* refactor: Remove SessionService singleton pattern
- Convert SessionService from singleton to dependency injection
- Remove static shared instance and private init
- Add public init with APIClient dependency
- Update SessionCreateView to use SessionService() instead of .shared
- Update TerminalView to use SessionService() instead of .shared
This enables proper dependency injection and testing while maintaining
backwards compatibility through default parameter values.
* feat: Add Theme.Colors.primaryAccent for UI consistency
- Add primaryAccent color definition as alias to accentColor
- Provides semantic naming for primary interactive elements
- Enables consistent theming across SessionListView components
This prepares the theme system for the SessionListView MVVM refactoring.
* refactor: Transform SessionListView to clean MVVM architecture
Major architectural refactoring following ServerListView pattern:
- Move all business logic from View to SessionListViewModel
- Implement proper dependency injection for SessionService, NetworkMonitor, ConnectionManager
- Add SessionListViewModelProtocol for testability
- Consolidate UI state management in ViewModel
- Move filtering and search logic to ViewModel's computed properties
- Remove environment dependencies except NavigationManager
- Add proper error handling and loading state management
View changes:
- Simplified View to focus solely on UI rendering
- Removed embedded business logic and state management
- Clean separation of concerns between View and ViewModel
ViewModel features:
- Comprehensive session management (load, kill, cleanup operations)
- Smart filtering (running/exited sessions)
- Multi-field search (name, command, working directory, PID)
- Network connectivity monitoring
- UI state management for sheets and modals
- Proper async/await error handling
This establishes a maintainable, testable architecture that follows
established patterns in the codebase.
* test: Add comprehensive mock infrastructure for testing
- Add MockSessionService with full SessionServiceProtocol implementation
- Add MockConnectionManager for connection testing
- Implement detailed tracking of method calls and parameters
- Add error injection capabilities for negative testing
- Organize mocks in dedicated /Mocks/ directory for reusability
Mock features:
- Call count tracking for all operations
- Parameter capture for verification
- Configurable error scenarios
- State management for sessions
- Clean separation from test logic
This infrastructure enables thorough testing of the SessionListViewModel
with proper isolation and dependency injection.
* test: Add comprehensive SessionListViewModel test suite
Comprehensive test coverage with 54 tests covering all functionality:
Initialization & State:
- Default state verification
- UI state management
Session Loading:
- Successful loading with proper state management
- Loading state behavior (first load vs refresh)
- Error handling with message preservation
- Data preservation on subsequent errors
Filtering & Search:
- Show/hide exited sessions functionality
- Multi-field search (name, command, working directory, PID)
- Case-insensitive search
- Combined filtering and search scenarios
Network & Connectivity:
- Network state monitoring and reactivity
- Offline state handling
Session Operations:
- Kill session with success/error scenarios
- Cleanup session with success/error scenarios
- Kill all sessions with proper verification
- Cleanup all exited sessions
- Concurrent operations handling
Connection Management:
- Disconnect functionality testing
Error Handling:
- Robust error type checking (not brittle string matching)
- Error state preservation and recovery
- Proper async error propagation
All tests use proper dependency injection with mocks for complete
isolation and deterministic behavior.
* fix: Improve test infrastructure and build configuration
Test Infrastructure:
- Disable TerminalRendererTests that use UserDefaults directly
- These tests need dependency injection refactor to be reliable
Build Configuration:
- Remove hardcoded DEVELOPMENT_TEAM from project.pbxproj
- Remove hardcoded CODE_SIGN_STYLE from main target configurations
- Fix Shared.xcconfig to properly use Local.xcconfig team settings
- Remove conflicting inherited values that override Local.xcconfig
This ensures Local.xcconfig team settings are properly applied
and eliminates the need to manually set team in Xcode UI.
* refactor: Remove backward compatibility comment from HapticFeedback
- Remove comment "Static methods for backward compatibility"
- Keep static singleton methods as they are the intended API
- Maintain existing HapticFeedback.impact(.light) usage pattern
The static methods are not backward compatibility, they are the primary
interface for HapticFeedback usage throughout the app.
* fix: Disable remaining UserDefaults tests in TerminalRendererTests
- Disable invalidUserDefaultsValue() test that was failing on CI
- Disable roundTripUserDefaults() test that also uses UserDefaults directly
- All UserDefaults-dependent tests now properly disabled with clear reason
These tests need dependency injection refactor to be reliable in CI/CD
environments where UserDefaults state can be unpredictable.
Tests still running:
- allCasesRawValues() ✅
- displayNames() ✅
- descriptions() ✅
- codableSupport() ✅
- caseIterableSupport() ✅
---------
Co-authored-by: David Collado <davidcollado@MacBook-Pro-de-David.local>