vibetunnel/mac/VibeTunnel/Utilities
Peter Steinberger bc9f505026
Fix Ghostty terminal spawn issues with dynamic delays (#408)
* Fix Ghostty terminal spawn issues with dynamic delays

- Add isTerminalRunning() helper to check if terminal app is running
- Implement dynamic delays for Ghostty based on running state
  - 0.5s delay for warm start (already running)
  - 2.0s delay for cold start (needs to launch)
- Add window count checking to ensure UI is ready
- Fix issue where commands weren't executed when Ghostty had no windows

Fixes #371

* Fix CI: Skip Node.js check when using pre-built web artifacts

- Add SKIP_NODE_CHECK=true environment variable to Mac CI build step
- Prevents install-node.sh from failing when pnpm is not available
- CI downloads pre-built web artifacts, so Node.js/pnpm are not needed

* Fix CI: Properly handle pre-built web artifacts in Mac build

- Add early exit in build-web-frontend.sh when CI has pre-built artifacts
- Set CI=true environment variable in all Xcode build steps
- Update node-path-setup.sh to skip Node.js check in CI
- Copy pre-built artifacts directly without attempting rebuild
- This prevents pnpm dependency errors in CI environment

* Fix SwiftFormat modifier order issue

- Change 'static weak' to 'weak static' in AppDelegate
- SwiftFormat requires consistent modifier ordering

* Fix CI: Include native binaries in web artifacts

- Add web/native/ directory to uploaded artifacts
- Add web/bin/vt script to uploaded artifacts
- This ensures Mac tests can find the vibetunnel executable
- Fixes test failures due to missing server binary

* Fix CI: Copy native binaries from web artifacts in Mac CI

- Update artifact extraction to copy web/native/ directory
- Also copy web/bin/ directory for vt script
- Add debugging output to show native contents
- This ensures tests can find the vibetunnel executable
2025-07-18 17:24:30 +02:00
..
ApplicationMover.swift Update dangerous NSException API 2025-06-25 02:11:51 +02:00
CLIInstaller.swift Fix Ghostty terminal spawn issues with dynamic delays (#408) 2025-07-18 17:24:30 +02:00
GitAppLauncher.swift Add JuxtaCode as a Git diff tool option 2025-07-16 22:51:30 +02:00
ProcessKiller.swift feat: add magic wand button to web frontend for AI sessions (#262) 2025-07-08 02:13:34 +01:00
SettingsOpener.swift Add Git repository monitoring to VibeTunnel menu bar (#200) 2025-07-02 20:42:34 +01:00
TerminalLauncher.swift Fix Ghostty terminal spawn issues with dynamic delays (#408) 2025-07-18 17:24:30 +02:00
ViewExtensions.swift Fix WebRTC threading crash in screen capture (#375) 2025-07-17 00:37:15 +02:00
WelcomeWindowController.swift Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00