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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Or add to `~/.config/opencode/opencode.json` (OpenCode):
64
64
|------|-------------|
65
65
|`team_create`| Create a new agent team. One team per server session. |
66
66
|`team_delete`| Delete a team and all its data. Fails if teammates are still active. |
67
-
|`spawn_teammate`| Spawn a teammate in a tmux pane (Claude or OpenCode backend). |
67
+
|`spawn_teammate`| Spawn a teammate in tmux (pane by default, window when `USE_TMUX_WINDOWS` is set). |
68
68
|`send_message`| Send direct messages, broadcasts, shutdown/plan approval responses. |
69
69
|`read_inbox`| Read messages from an agent's inbox. |
70
70
|`poll_inbox`| Long-poll an inbox for new messages (up to 30s). |
@@ -73,12 +73,12 @@ Or add to `~/.config/opencode/opencode.json` (OpenCode):
73
73
|`task_update`| Update task status, owner, dependencies, or metadata. |
74
74
|`task_list`| List all tasks for a team. |
75
75
|`task_get`| Get full details of a specific task. |
76
-
|`force_kill_teammate`| Forcibly kill a teammate's tmux pane and clean up. |
76
+
|`force_kill_teammate`| Forcibly kill a teammate's tmux pane/window and clean up. |
77
77
|`process_shutdown_approved`| Remove a teammate after graceful shutdown approval. |
78
78
79
79
## How it works
80
80
81
-
-**Spawning**: Teammates launch in tmux panes via `tmux split-window`. Backend can be Claude (`claude`) or OpenCode (`opencode`). Each gets a unique agent ID (`name@team`) and color.
81
+
-**Spawning**: Teammates launch in tmux via `tmux split-window` (default) or `tmux new-window` when `USE_TMUX_WINDOWS` is set. Backend can be Claude (`claude`) or OpenCode (`opencode`). Each gets a unique agent ID (`name@team`) and color.
82
82
-**Messaging**: JSON-based inboxes under `~/.claude/teams/<team>/inboxes/`. File locking (`fcntl`) prevents corruption from concurrent reads/writes.
83
83
-**Tasks**: JSON task files under `~/.claude/tasks/<team>/`. Tasks have status tracking, ownership, and dependency management (`blocks`/`blockedBy`).
84
84
-**Concurrency safety**: Atomic writes via `tempfile` + `os.replace` for config. `fcntl` file locks for inbox operations.
0 commit comments