mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
Worktrunk Setup
This repo uses Worktrunk for running multiple Claude Code agents in parallel on different branches.
Install Worktrunk
brew install max-sixty/worktrunk/wt
wt config shell install
# restart terminal
Quick Commands
| Task | Command |
|---|---|
| Create worktree + start Claude | wt switch -c -x claude feat-name |
| Switch to existing worktree | wt switch feat-name |
| List all worktrees | wt list |
| Create PR | gh pr create |
| Remove worktree | wt remove feat-name |
What happens on wt switch -c
- Creates new worktree at
../browseros-main.feat-name/ - Runs
bun installinpackages/browseros-agent/ - Copies
.env.*files from main worktree'spackages/browseros-agent/apps/
Hooks
Hooks are configured in .config/wt.toml:
- post-create: Runs
bun installin the agent package, copies env files and.llm/from the main worktree - pre-remove: Syncs
.llm/back to the main worktree before deletion