mac/
ios/
web/
docs/RELEASE.md
for the complete release process.
git rebase --skip
EVER
pnpm run dev
instead of embedded serverdocs.json
in this projectdocs.json
TestSessionTracker
to track which sessions tests creategit branch
before making changesgit pull --rebase origin main
while staying on the current feature branch.vt
command to update the terminal title:
vt title "Brief summary - github.com/owner/repo/pull/123"
vt
command fails (only works inside VibeTunnel), simply ignore the error and continuepnpm run dev
runs independently on port 4020pnpm run dev
and manages the processweb/
directory:
mac/
directory:
POST /api/sessions
spawns new terminalPOST /api/sessions/:id/input
sends keyboard/mouse input/api/sessions/:id/stream
(text)/buffers
(binary, efficient rendering)POST /api/sessions/:id/resize
(missing in some implementations)mac/VibeTunnel/VibeTunnelApp.swift
web/src/client/app.ts
web/src/server/server.ts
web/src/server/fwd.ts
mac/VibeTunnel/Core/Services/ServerManager.swift
VibeTunnelTests/
web/src/test/
http://[mac-ip]:4021
Important: The production server runs on port 4020, so use 4021 for development to avoid conflicts.
For detailed instructions, see docs/TESTING_EXTERNAL_DEVICES.md
/mcp
in Claude Codeclaude mcp add playwright -- npx -y @playwright/mcp@latest
claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest
claude mcp add peekaboo -- npx -y @steipete/peekaboo-mcp
claude mcp add macos-automator -- npx -y macos-automator-mcp
claude mcp add RepoPrompt -- /path/to/repoprompt_cli
.mcp.json
file in project root-s
or --scope
flag to specify scope:
@
syntax for file inclusiongemini -p "@src/ @tests/ Is authentication properly implemented?"
docs/gemini.md
for detailed usage and examples./scripts/vtlog.sh
(also available in mac/scripts/vtlog.sh
and ios/scripts/vtlog.sh
)
What it does:
-n
to check a specific number of recent log lines. Do NOT use -f
(follow mode) as it will block and timeout after 2 minutes. Follow mode is only useful when monitoring logs in a separate terminal while performing actions.
Log prefixes:
[FE]
- Frontend (browser) logs[SRV]
- Server-side logs from Node.js/Bun[ServerManager]
, [SessionService]
, etc. - Native Mac app components/fixmac
, use the Task tool with the XcodeBuildMCP subagent to fix Mac compilation errors and warnings:
docs/ARCHITECTURE.md
docs/spec.md
web/docs/spec.md
web/package.json
, mac/Package.swift
docs/TESTING_EXTERNAL_DEVICES.md
docs/gemini.md
docs/RELEASE.md