squad-station 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -0
- package/bin/run.js +2 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Squad Station
|
|
2
|
+
|
|
3
|
+
Message routing and orchestration for AI agent squads — stateless CLI, no daemon.
|
|
4
|
+
|
|
5
|
+
Squad Station routes messages between an AI orchestrator and N agents running in tmux sessions. Provider-agnostic: works with Claude Code, Gemini CLI, or any AI tool.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx squad-station install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This downloads the `squad-station` binary to your system and scaffolds project files:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
.squad/
|
|
17
|
+
├── sdd/ # SDD playbooks
|
|
18
|
+
│ ├── gsd-playbook.md
|
|
19
|
+
│ ├── bmad-playbook.md
|
|
20
|
+
│ └── superpowers-playbook.md
|
|
21
|
+
└── examples/ # Example configs
|
|
22
|
+
├── orchestrator-claude.yml
|
|
23
|
+
└── orchestrator-gemini.yml
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Quickstart
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# 1. Copy an example config
|
|
30
|
+
cp .squad/examples/orchestrator-claude.yml squad.yml
|
|
31
|
+
|
|
32
|
+
# 2. Edit — set project name, providers, models
|
|
33
|
+
vi squad.yml
|
|
34
|
+
|
|
35
|
+
# 3. Launch the squad
|
|
36
|
+
squad-station init
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Example `squad.yml`
|
|
40
|
+
|
|
41
|
+
```yaml
|
|
42
|
+
project: my-app
|
|
43
|
+
|
|
44
|
+
sdd:
|
|
45
|
+
- name: get-shit-done
|
|
46
|
+
playbook: ".squad/sdd/gsd-playbook.md"
|
|
47
|
+
|
|
48
|
+
orchestrator:
|
|
49
|
+
provider: claude-code
|
|
50
|
+
role: orchestrator
|
|
51
|
+
model: haiku
|
|
52
|
+
description: Team leader, coordinates tasks for agents
|
|
53
|
+
|
|
54
|
+
agents:
|
|
55
|
+
- name: implement
|
|
56
|
+
provider: claude-code
|
|
57
|
+
role: worker
|
|
58
|
+
model: sonnet
|
|
59
|
+
description: Senior coder, coding, fixing bugs
|
|
60
|
+
|
|
61
|
+
- name: brainstorm
|
|
62
|
+
provider: claude-code
|
|
63
|
+
role: worker
|
|
64
|
+
model: opus
|
|
65
|
+
description: Technical Lead, planner, analysis, code reviews
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Commands
|
|
69
|
+
|
|
70
|
+
| Command | Description |
|
|
71
|
+
|---|---|
|
|
72
|
+
| `squad-station init` | Launch squad from `squad.yml` — creates DB, tmux sessions, hooks |
|
|
73
|
+
| `squad-station send <agent> --body "<task>"` | Send a task to an agent |
|
|
74
|
+
| `squad-station signal <agent>` | Signal agent completed its task |
|
|
75
|
+
| `squad-station list` | List messages |
|
|
76
|
+
| `squad-station agents` | List agents with live status |
|
|
77
|
+
| `squad-station status` | Project and agent summary |
|
|
78
|
+
| `squad-station view` | Open tmux tiled view of all agents |
|
|
79
|
+
| `squad-station ui` | Interactive TUI dashboard |
|
|
80
|
+
| `squad-station close` | Kill all squad tmux sessions |
|
|
81
|
+
| `squad-station reset` | Kill sessions, delete DB, relaunch |
|
|
82
|
+
|
|
83
|
+
## Requirements
|
|
84
|
+
|
|
85
|
+
- macOS or Linux
|
|
86
|
+
- tmux
|
|
87
|
+
- Node.js 14+ (for `npx install` only)
|
|
88
|
+
|
|
89
|
+
## Alternative Install
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# curl
|
|
93
|
+
curl -fsSL https://raw.githubusercontent.com/thientranhung/squad-station/master/install.sh | sh
|
|
94
|
+
|
|
95
|
+
# From source
|
|
96
|
+
git clone https://github.com/thientranhung/squad-station.git
|
|
97
|
+
cd squad-station && cargo build --release
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## License
|
|
101
|
+
|
|
102
|
+
MIT
|
package/bin/run.js
CHANGED
|
@@ -42,7 +42,8 @@ function install() {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
function installBinary() {
|
|
45
|
-
|
|
45
|
+
// Binary version — may differ from npm package version
|
|
46
|
+
var VERSION = '0.5.1';
|
|
46
47
|
var REPO = 'thientranhung/squad-station';
|
|
47
48
|
|
|
48
49
|
var platformMap = { darwin: 'darwin', linux: 'linux' };
|