Run script/setup in new worktrees and give each task a port block

This commit is contained in:
Ian Gulliver
2026-10-15 11:52:13 -07:00
parent f5e5dd30e3
commit cfa9699f4b
15 changed files with 453 additions and 174 deletions
-4
View File
@@ -6,10 +6,6 @@
- Terminals
PTYs via `github.com/creack/pty`, rendered with xterm.js, one WebSocket per open terminal (the only WebSocket use in byre). Scoped to the task's worktree by default. Shown as a pane tab. Terminals don't survive a byre restart.
- Per-project setup config
A setup script run in each new worktree (dependency install, env file copying), and port allocation so parallel dev servers don't collide.
- Decide the format of per-project setup config
It holds the setup script, port allocation, and the run and capture config that visual reviews use.
- Previews
Web: byre supervises a per-task dev server and exposes it over Tailscale, preferably as a per-task port through `tailscale serve`, since path-prefix proxying breaks apps that use absolute paths. iOS: on-demand simulator screenshots and recordings attached to the task, with Screen Sharing over Tailscale as the manual fallback. Shown as a pane tab.
- Confirm `tailscale serve` can expose per-task preview ports