squads-cli 0.1.2 → 0.2.0
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 +162 -21
- package/dist/cli.js +2102 -652
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,18 +7,22 @@
|
|
|
7
7
|
**Organize, run, and track autonomous AI agents.** Built for Claude Code.
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
$ squads
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
│
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
│
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
$ squads status
|
|
11
|
+
|
|
12
|
+
squads status
|
|
13
|
+
● 7 active sessions across 1 squad (claude 7)
|
|
14
|
+
|
|
15
|
+
10/10 squads │ memory: enabled
|
|
16
|
+
|
|
17
|
+
┌────────────────────────────────────────────────────────┐
|
|
18
|
+
│ SQUAD AGENTS MEMORY ACTIVITY │
|
|
19
|
+
├────────────────────────────────────────────────────────┤
|
|
20
|
+
│ cli 7 1 entry today │
|
|
21
|
+
│ engineering 6 1 entry today │
|
|
22
|
+
│ intelligence 17 1 entry 4d ago │
|
|
23
|
+
│ marketing 4 2 entries today │
|
|
24
|
+
│ website 10 1 entry 5d ago │
|
|
25
|
+
└────────────────────────────────────────────────────────┘
|
|
22
26
|
```
|
|
23
27
|
|
|
24
28
|
## Why squads-cli?
|
|
@@ -28,7 +32,8 @@ AI agents are powerful individually. But real work requires coordination.
|
|
|
28
32
|
- **Squads** — Group agents by domain (engineering, research, marketing)
|
|
29
33
|
- **Memory** — Persistent state that survives across sessions
|
|
30
34
|
- **Goals** — Track objectives and measure progress
|
|
31
|
-
- **
|
|
35
|
+
- **Sessions** — Real-time detection of running AI assistants
|
|
36
|
+
- **Stack** — Local infrastructure for telemetry and memory
|
|
32
37
|
|
|
33
38
|
No complex infrastructure. Just markdown files and a CLI.
|
|
34
39
|
|
|
@@ -47,6 +52,9 @@ squads init
|
|
|
47
52
|
# See what you have
|
|
48
53
|
squads status
|
|
49
54
|
|
|
55
|
+
# Full dashboard with goals and metrics
|
|
56
|
+
squads dash
|
|
57
|
+
|
|
50
58
|
# Run a squad
|
|
51
59
|
squads run engineering
|
|
52
60
|
|
|
@@ -57,6 +65,110 @@ squads memory query "authentication"
|
|
|
57
65
|
squads goal set engineering "Ship v2.0 by Friday"
|
|
58
66
|
```
|
|
59
67
|
|
|
68
|
+
## Features
|
|
69
|
+
|
|
70
|
+
### Dashboard
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
$ squads dash
|
|
74
|
+
|
|
75
|
+
squads dashboard
|
|
76
|
+
● 7 active sessions across 1 squad (claude 7)
|
|
77
|
+
|
|
78
|
+
8/10 squads │ 404 commits │ use -f for PRs/issues
|
|
79
|
+
|
|
80
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35% goal progress
|
|
81
|
+
|
|
82
|
+
┌──────────────────────────────────────────────────────────┐
|
|
83
|
+
│ SQUAD COMMITS PRs ISSUES GOALS PROGRESS │
|
|
84
|
+
├──────────────────────────────────────────────────────────┤
|
|
85
|
+
│ marketing 203 0 0/0 9/12 ━━━━━━━━ │
|
|
86
|
+
│ website 203 0 0/0 0/1 ━━━━━━━━ │
|
|
87
|
+
│ engineering 139 0 0/0 0/1 ━━━━━━━━ │
|
|
88
|
+
│ cli 48 0 0/0 2/3 ━━━━━━━━ │
|
|
89
|
+
└──────────────────────────────────────────────────────────┘
|
|
90
|
+
|
|
91
|
+
Git Activity (30d)
|
|
92
|
+
Last 14d: ▁▁▁▁▁▁▁▄▆▄▆▅█▂
|
|
93
|
+
404 commits │ 13.5/day │ 21 active days
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Memory Search
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
$ squads memory query "telemetry"
|
|
100
|
+
|
|
101
|
+
squads memory query "telemetry"
|
|
102
|
+
|
|
103
|
+
5 results found
|
|
104
|
+
|
|
105
|
+
┌──────────────────────────────────────────────────┐
|
|
106
|
+
│ LOCATION TYPE SCORE │
|
|
107
|
+
├──────────────────────────────────────────────────┤
|
|
108
|
+
│ cli/cli-lead state 7.2 │
|
|
109
|
+
│ engineering/eng-lead state 7.2 │
|
|
110
|
+
│ marketing/marketing-lead state 7.2 │
|
|
111
|
+
└──────────────────────────────────────────────────┘
|
|
112
|
+
|
|
113
|
+
Matches
|
|
114
|
+
◇ Telemetry pipeline COMPLETE. Dashboard showing real-time...
|
|
115
|
+
└ cli/cli-lead
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Session Detection
|
|
119
|
+
|
|
120
|
+
Real-time detection of running AI coding assistants:
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
$ squads status
|
|
124
|
+
|
|
125
|
+
● 7 active sessions across 1 squad (claude 7)
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Supports multiple tools:
|
|
129
|
+
- Claude Code
|
|
130
|
+
- Cursor
|
|
131
|
+
- Aider
|
|
132
|
+
- Gemini
|
|
133
|
+
- GitHub Copilot
|
|
134
|
+
- Sourcegraph Cody
|
|
135
|
+
- Continue
|
|
136
|
+
|
|
137
|
+
### Stack Management
|
|
138
|
+
|
|
139
|
+
Local Docker infrastructure for telemetry and memory:
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
$ squads stack health
|
|
143
|
+
|
|
144
|
+
squads stack health
|
|
145
|
+
|
|
146
|
+
✓ postgres healthy
|
|
147
|
+
✓ redis healthy
|
|
148
|
+
✓ neo4j healthy
|
|
149
|
+
✓ bridge healthy
|
|
150
|
+
✓ langfuse healthy
|
|
151
|
+
✓ mem0 healthy
|
|
152
|
+
✓ engram healthy
|
|
153
|
+
|
|
154
|
+
● 8/8 services healthy
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Auto-Update
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
$ squads status
|
|
161
|
+
|
|
162
|
+
⬆ Update available: 0.1.2 → 0.2.0 (run `squads update`)
|
|
163
|
+
|
|
164
|
+
$ squads update
|
|
165
|
+
Checking npm registry...
|
|
166
|
+
⬆ Update available: 0.1.2 → 0.2.0
|
|
167
|
+
Update now? [y/N]: y
|
|
168
|
+
Installing update...
|
|
169
|
+
● Updated to 0.2.0
|
|
170
|
+
```
|
|
171
|
+
|
|
60
172
|
## Core Concepts
|
|
61
173
|
|
|
62
174
|
### Squads = Domain-Aligned Teams
|
|
@@ -103,7 +215,6 @@ claude-sonnet-4
|
|
|
103
215
|
squads memory show engineering
|
|
104
216
|
# → "Switched to pnpm for faster installs"
|
|
105
217
|
# → "Build cache reduced CI time by 40%"
|
|
106
|
-
# → "Team prefers explicit over implicit configs"
|
|
107
218
|
|
|
108
219
|
# Search across all squads
|
|
109
220
|
squads memory query "performance"
|
|
@@ -133,8 +244,8 @@ squads run engineering --dry-run # Preview what would run
|
|
|
133
244
|
```bash
|
|
134
245
|
squads memory query "deployment" # Semantic search
|
|
135
246
|
squads memory show research # View squad memory
|
|
136
|
-
squads memory update research # Add to memory
|
|
137
247
|
squads memory list # List all entries
|
|
248
|
+
squads memory sync # Sync from git remote
|
|
138
249
|
```
|
|
139
250
|
|
|
140
251
|
### Goal Tracking
|
|
@@ -142,8 +253,8 @@ squads memory list # List all entries
|
|
|
142
253
|
```bash
|
|
143
254
|
squads goal set finance "Cut costs 20%" # Set goal
|
|
144
255
|
squads goal list # View all goals
|
|
145
|
-
squads goal progress finance 75
|
|
146
|
-
squads goal complete finance
|
|
256
|
+
squads goal progress finance 1 75 # Update progress
|
|
257
|
+
squads goal complete finance 1 # Mark done
|
|
147
258
|
```
|
|
148
259
|
|
|
149
260
|
### Feedback Loop
|
|
@@ -154,6 +265,24 @@ squads feedback show research # View history
|
|
|
154
265
|
squads feedback stats # Summary
|
|
155
266
|
```
|
|
156
267
|
|
|
268
|
+
### Stack Management
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
squads stack status # Container health
|
|
272
|
+
squads stack up # Start Docker stack
|
|
273
|
+
squads stack down # Stop Docker stack
|
|
274
|
+
squads stack health # Comprehensive diagnostics
|
|
275
|
+
squads stack logs bridge # View container logs
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Updates
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
squads update # Interactive update
|
|
282
|
+
squads update -y # Auto-confirm
|
|
283
|
+
squads update -c # Check only
|
|
284
|
+
```
|
|
285
|
+
|
|
157
286
|
## Claude Code Integration
|
|
158
287
|
|
|
159
288
|
### Option 1: Session Hook (Recommended)
|
|
@@ -213,6 +342,9 @@ your-project/
|
|
|
213
342
|
squads status [squad] Show squad status
|
|
214
343
|
-v, --verbose Include agent details
|
|
215
344
|
|
|
345
|
+
squads dash Full dashboard with goals
|
|
346
|
+
-f, --full Include PRs and issues
|
|
347
|
+
|
|
216
348
|
squads run <target> Run squad or agent
|
|
217
349
|
-v, --verbose Verbose output
|
|
218
350
|
-d, --dry-run Preview only
|
|
@@ -225,19 +357,28 @@ squads list List all squads/agents
|
|
|
225
357
|
squads memory query <q> Search memory
|
|
226
358
|
-s, --squad <squad> Filter by squad
|
|
227
359
|
squads memory show <squad> View squad memory
|
|
228
|
-
squads memory update <squad> Add to memory
|
|
229
360
|
squads memory list List all entries
|
|
361
|
+
squads memory sync Sync from git remote
|
|
230
362
|
|
|
231
363
|
squads goal set <squad> <goal>
|
|
232
364
|
squads goal list [squad]
|
|
233
|
-
squads goal progress <squad> <pct>
|
|
234
|
-
squads goal complete <squad>
|
|
365
|
+
squads goal progress <squad> <idx> <pct>
|
|
366
|
+
squads goal complete <squad> <idx>
|
|
235
367
|
|
|
236
368
|
squads feedback add <squad> <rating> <text>
|
|
237
369
|
squads feedback show <squad>
|
|
238
370
|
squads feedback stats
|
|
239
371
|
|
|
240
|
-
squads
|
|
372
|
+
squads stack status Container health
|
|
373
|
+
squads stack up Start Docker stack
|
|
374
|
+
squads stack down Stop Docker stack
|
|
375
|
+
squads stack health Comprehensive diagnostics
|
|
376
|
+
squads stack logs <service> View container logs
|
|
377
|
+
|
|
378
|
+
squads update Interactive update
|
|
379
|
+
-y, --yes Auto-confirm
|
|
380
|
+
-c, --check Check only
|
|
381
|
+
|
|
241
382
|
squads init Initialize project
|
|
242
383
|
squads login/logout/whoami Authentication (Pro)
|
|
243
384
|
```
|