cd web && pnpm run check
(format, lint, typecheck), pnpm run dev
(port 4020), pnpm run test
(Vitest)cd mac && ./scripts/build.sh
(Release), ./scripts/build.sh --configuration Debug
, ./scripts/lint.sh
(SwiftFormat + SwiftLint)cd web && pnpm run test path/to/test.spec.ts
or xcodebuild test -project VibeTunnel-Mac.xcodeproj -scheme VibeTunnel-Mac
mac/
- main app + terminal session managementios/
- mobile interfaceweb/
- TypeScript/LitElement frontend + Node.js/Bun server for terminal sessions/api/sessions
(create), /api/sessions/:id/input
(send), /api/sessions/:id/stream
(SSE output), /buffers
(WebSocket binary)mac/VibeTunnel/VibeTunnelApp.swift
, web/src/client/app.ts
, web/src/server/server.ts
.js
imports, JSDoc, singleton exports// MARK: -
sections, @Observable
models, @MainActor
UI, protocol-oriented design../
, specific imports preferredLocalizedError
(Swift)