Loading...
Loading...
Manage LlamaFarm worktrees for isolated parallel development. Create, start, stop, and clean up worktrees.
npx skill4agent add llama-farm/llamafarm wt| Task | Command |
|---|---|
| Create worktree and start services | |
| Create and cd into worktree | |
| List all worktrees with status | |
| Check service health | |
| Start/stop services | |
| View service logs | |
| Delete worktree | |
| Switch to worktree | |
| Open Designer in browser | |
| Diagnose issues | |
| Clean orphaned data | |
wt# Create isolated environment with services running
wt create --go feat/my-task
# Work in the worktree...
# Services are already running on auto-assigned ports
# Check status anytime
wt status
# View logs if needed
wt logs server# List all worktrees with their port assignments
wt list
# Example output:
# NAME STATUS SERVER DESIGNER RUNTIME
# feat-my-task running 8150 5150 11150
# fix-bug stopped 8234 5234 11234# Stop services and remove a worktree
wt delete feat-my-task
# Remove data for worktrees that no longer exist
wt gc
# Remove worktrees for branches merged to main
wt prune# Diagnose common issues (ports, stale PIDs, missing tools)
wt doctor
# Restart stuck services
wt stop && wt start
# Force delete if normal delete fails
wt delete my-worktree --forcewt url
# Outputs:
# Server: http://localhost:8150
# Designer: http://localhost:5150
# Runtime: http://localhost:11150http://server.feat-my-task.localhost
http://designer.feat-my-task.localhost~/worktrees/llamafarm/~/.llamafarm/worktrees/<name>/~/.llamafarm/worktrees/<name>/logs/wt create --gowt listwt statuswt doctorwt delete