Commit graph

67 commits

Author SHA1 Message Date
Peter Steinberger
8e527c3c97 improve custom node docs 2025-06-22 14:46:34 +02:00
Peter Steinberger
17758c2a40 Move files to apple subdir 2025-06-22 14:35:42 +02:00
Peter Steinberger
a675daae94 Add global Apple workspace 2025-06-22 14:27:38 +02:00
Peter Steinberger
82b9d65d8f feat: Add Volta support to Node.js detection
- Add Volta path detection in build scripts
- Update install instructions to include Volta option
- Ensure both NVM and Volta users are supported
2025-06-22 11:53:15 +02:00
Peter Steinberger
180caf7e81 Add logic to use custom node compiler 2025-06-22 11:53:15 +02:00
Peter Steinberger
1449ce0c23 fix port having thousand separator 2025-06-22 11:53:00 +02:00
Peter Steinberger
6190090cde Add user notification permission explainer 2025-06-22 11:53:00 +02:00
Peter Steinberger
ba315226c2 Make server control a state machine 2025-06-22 11:53:00 +02:00
Peter Steinberger
bb462c8826 Better animations for welcome view 2025-06-22 11:53:00 +02:00
Peter Steinberger
997b4ab416 Improve port killer 2025-06-22 11:53:00 +02:00
Peter Steinberger
41d602d6d9 Make permission monitoring dependent on views 2025-06-22 11:53:00 +02:00
Peter Steinberger
a791bbede8 test fixes 2025-06-22 11:53:00 +02:00
Armin Ronacher
47eded4cb5 Add volta.sh support for node compilation 2025-06-22 10:29:36 +02:00
Peter Steinberger
c33c9ac729 chore: Remove NgrokServiceTests to eliminate expected test failures
- Delete NgrokServiceTests.swift which required auth token
- Simplify CI workflow by removing special handling for expected failures
- All tests now pass without any expected failures
2025-06-22 08:28:44 +02:00
Peter Steinberger
f4c82da2f6 fix: remove unused variable warning in SessionMonitorTests 2025-06-22 08:03:43 +02:00
Peter Steinberger
51722bdd7e fix: use proper Swift Testing skip mechanism in NgrokServiceTests
Replace TestFixtures.TestError.skip with #require macro for better Swift Testing compatibility
2025-06-22 07:56:10 +02:00
Peter Steinberger
865858ccac fix: Add missing TestError.skip case to fix Mac CI test failures
The NgrokServiceTests were failing in CI with "cannot find 'TestError' in scope"
because TestError.skip was being used but the skip case was not defined.

- Add TestError.skip(String) case to TestFixtures
- Update NgrokServiceTests to use TestFixtures.TestError.skip for proper namespacing
2025-06-22 07:48:35 +02:00
Peter Steinberger
eac6fb7146 test fix 2025-06-22 07:44:59 +02:00
Peter Steinberger
2484318f05 stop executing applescript once per second 2025-06-22 07:44:29 +02:00
Peter Steinberger
0b4f03ef78 test: modernize Mac tests to follow Swift Testing best practices
- Convert TerminalLaunchTests from XCTest to Swift Testing framework
- Update ServerManagerTests to handle test environment limitations
- Modernize SessionMonitorTests with class-based suite and proper lifecycle
- Fix test compilation issues and improve test resilience
- Use #expect and #require macros instead of XCTAssert
- Add proper tags for test organization
- Implement parameterized tests where appropriate
- Handle missing server binary gracefully in test environment

All tests now pass except NgrokServiceTests which requires auth token.
2025-06-22 07:42:28 +02:00
Peter Steinberger
324630ea17 speed up project build by comparing web hash 2025-06-22 07:16:52 +02:00
Peter Steinberger
954b6712aa improve logging 2025-06-22 07:16:38 +02:00
Peter Steinberger
d34f35e660 cleanup 2025-06-22 07:01:24 +02:00
Peter Steinberger
f6932ca9b5 Refactor AppleScriptExecutor to eliminate code duplication
- Extract ContinuationWrapper into a separate reusable class
- Create executeCore() method to consolidate AppleScript execution logic
- Refactor execute() and executeAsync() to use the shared core implementation
- Maintain all original behavior including timeout handling and thread safety
2025-06-22 06:58:57 +02:00
Mario Zechner
e912b65c9e Fix Node.js detection in build-bun-executable.sh for Xcode builds
Add common Node.js installation paths to PATH including Homebrew, NVM, n, and MacPorts locations. This matches the approach used in build-web-frontend.sh and ensures the script can find Node.js when running in Xcode's restricted environment.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 04:04:52 +02:00
Peter Steinberger
0e0ae4a6a9 Simplify mac scripts 2025-06-22 01:13:30 +02:00
Peter Steinberger
80f6104634 fixes warning 2025-06-22 00:00:53 +02:00
Mario Zechner
18a28992df Add comprehensive frontend component documentation
- Document all frontend components with JSDoc headers describing their purpose and events
- Add @fires and @listens tags for all component events with detailed parameter descriptions
- Update spec.md with complete Component Event Architecture section
- Add shared terminal-text-formatter.ts for consistent text formatting between client/server
- Implement event-driven activity detection replacing polling-based approach
- Add content-changed event to vibe-terminal-buffer for activity monitoring
- Remove ESC prompt detection in favor of general activity detection
- Add plain text endpoint with optional style formatting (/api/sessions/:id/text?styles)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-21 23:14:30 +02:00
Mario Zechner
5d932d7c3d Fix Xcode build scripts for Bun -> SEA transition. 2025-06-21 21:37:41 +02:00
Peter Steinberger
01e3c229ec add subtle back button 2025-06-21 19:17:24 +02:00
Peter Steinberger
95c00d683d move vt 2025-06-21 19:17:16 +02:00
Peter Steinberger
5100d3f2fb resilient vt 2025-06-21 19:06:27 +02:00
Peter Steinberger
d820a4b147 handle session id passing + better error messages 2025-06-21 18:55:34 +02:00
Peter Steinberger
5ee5cbb5ec Make scripts ugly but resilient 2025-06-21 18:08:00 +02:00
Mario Zechner
7c1023efe4 Fix web frontened build script for xcode step 2025-06-21 17:43:03 +02:00
Peter Steinberger
c9b86f6726 Bust cache on project reload 2025-06-21 16:11:35 +02:00
Peter Steinberger
a933e69b37 arm only 2025-06-21 16:11:34 +02:00
Peter Steinberger
382f108f72 update build scripts 2025-06-21 16:11:34 +02:00
Peter Steinberger
cdf22ae212 Improve cli installer logic 2025-06-21 16:11:34 +02:00
Peter Steinberger
f31d3c5fab Remove BunPrebuilts from git tracking
- Remove entire mac/Resources/BunPrebuilts/ directory from git
- Add directory to .gitignore
- These binaries should be generated/downloaded during build process
2025-06-21 14:44:26 +02:00
Peter Steinberger
3820f98e22 add tutorial 2025-06-21 14:43:00 +02:00
Peter Steinberger
a5b0354139 Burn everything with fire that is not node or swift. 2025-06-21 14:39:44 +02:00
Peter Steinberger
766819247c Prepare beta 3 2025-06-21 14:39:44 +02:00
Peter Steinberger
0a8eb8054c fix build script 2025-06-21 11:26:34 +02:00
Peter Steinberger
3479492ad3 update server code 2025-06-21 10:03:10 +02:00
Peter Steinberger
089d6e4e8e move resources 2025-06-21 10:02:50 +02:00
Peter Steinberger
d60bb8b95f move templates 2025-06-21 10:02:31 +02:00
Peter Steinberger
453c99ab90 Use web/src/fwd.ts when node server is active 2025-06-21 02:50:44 +02:00
Peter Steinberger
a2cdbb8816 Integrate node server, cleanup dead code 2025-06-21 02:49:38 +02:00
Peter Steinberger
a176ffeee1 fix mac build 2025-06-20 20:52:56 +02:00