You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add POST /api/tasks/:id/approve, /api/approve-all, /api/shutdown routes
that the CLI already calls but were missing from the router
- Fix WebSocket TaskApprove/TaskApproveAll handlers to update task status
from "input" to "running" in the database (was only writing to PTY)
- Use two-phase lock pattern: update DB while holding lock, then drop
before async PTY writes
- Revise README: mark Docker isolation as planned, update iTerm2 section
to reflect WebSocket API (not bridge scripts), update test counts,
fix roadmap to v0.1.0-alpha with accurate feature list
- 8 new handler tests covering approve, approve-all, and shutdown
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+12-19Lines changed: 12 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,12 +70,7 @@ Shepherd finds them automatically. No config, no restart, no flags.
70
70
71
71
Every iTerm2 pane running a known agent (Claude Code, Codex, AdaL, Aider, Gemini CLI, OpenCode, Goose, Plandex, gptme) appears on the Kanban board within seconds. Click any card to see the terminal, approve permissions, or review diffs.
72
72
73
-
**Make adoption persistent across new windows** (30 seconds, one-time):
74
-
75
-
1. Open iTerm2 → **Preferences → Profiles → General**
76
-
2. Under **"Send text at start"**, add: `shepherd-bridge &`
77
-
78
-
From then on, every new iTerm2 session automatically registers with Shepherd.
73
+
Shepherd connects to iTerm2's native WebSocket API to discover sessions — no bridge scripts or manual setup required. It reads your iTerm2 auth cookie automatically.
79
74
80
75
---
81
76
@@ -218,7 +213,7 @@ iTerm2 window Shepherd Kanban
218
213
219
214
**For all other agents**, tasks appear immediately in the board with a purple "iTerm2" badge and the detected agent name.
220
215
221
-
Setup takes 30 seconds: add `shepherd-bridge.py` to your iTerm2 AutoLaunch profile (`Preferences → Profiles → General → Send text at start`). The bridge forwards your iTerm2 cookie and key to Shepherd's auth file so session scanning works without manual configuration.
216
+
Shepherd connects to iTerm2 via its native WebSocket API (`~/.config/iterm2/socket.sock`), authenticating with the cookie and key stored in `~/Library/Application Support/iTerm2/`. No bridge scripts or manual config required.
0 commit comments