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