opencode-swarm 6.86.5 → 6.86.7
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 +77 -17
- package/dist/__tests__/cli-version.adversarial.test.d.ts +1 -0
- package/dist/__tests__/cli-version.test.d.ts +1 -0
- package/dist/cli/index.js +686 -512
- package/dist/config/schema.d.ts +3 -0
- package/dist/council/types.d.ts +5 -1
- package/dist/db/qa-gate-profile.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1320 -1057
- package/dist/services/diagnose-service.d.ts +1 -1
- package/dist/services/warning-buffer.d.ts +9 -0
- package/dist/state.d.ts +16 -3
- package/dist/tools/convene-council.d.ts +10 -5
- package/dist/tools/declare-council-criteria.d.ts +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/tool-names.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
OpenCode Swarm is a plugin for [OpenCode](https://opencode.ai) that turns a single AI coding session into an **architect-led team of
|
|
17
|
+
OpenCode Swarm is a plugin for [OpenCode](https://opencode.ai) that turns a single AI coding session into an **architect-led team of 17 specialized agents**. One agent writes the code. A different agent reviews it. Another writes and runs tests. Another checks security. **Nothing ships until every required gate passes.**
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
bunx opencode-swarm install
|
|
@@ -28,7 +28,7 @@ Most AI coding tools let one model write code and ask that same model whether th
|
|
|
28
28
|
|
|
29
29
|
### Key Features
|
|
30
30
|
|
|
31
|
-
- 🏗️ **
|
|
31
|
+
- 🏗️ **17 specialized agents (9 core + 5 optional + 3 conditional)** — architect, coder, reviewer, test_engineer, critic, explorer, sme, docs, designer, critic_oversight, critic_sounding_board, critic_drift_verifier, critic_hallucination_verifier, curator_init, curator_phase, council_member, council_moderator
|
|
32
32
|
- 🔒 **Gated pipeline** — code never ships without reviewer + test engineer approval
|
|
33
33
|
- 🔄 **Phase completion gates** — completion-verify and drift verifier gates enforced before phase completion
|
|
34
34
|
- 🔁 **Resumable sessions** — all state saved to `.swarm/`; pick up any project any day
|
|
@@ -126,31 +126,91 @@ See [docs/commands.md](docs/commands.md) for the full reference (41 commands).
|
|
|
126
126
|
|
|
127
127
|
## The Agents
|
|
128
128
|
|
|
129
|
-
Swarm has
|
|
129
|
+
Swarm has 17 specialized agents (9 core + 5 optional + 3 conditional). You don't manually switch between them — the architect coordinates automatically.
|
|
130
130
|
|
|
131
|
-
| Agent | Role |
|
|
132
|
-
|
|
133
|
-
| **architect** | Orchestrates workflow, writes plans, enforces gates |
|
|
134
|
-
| **
|
|
135
|
-
| **
|
|
136
|
-
| **
|
|
137
|
-
| **
|
|
138
|
-
| **
|
|
139
|
-
| **
|
|
140
|
-
| **
|
|
141
|
-
| **
|
|
142
|
-
| **
|
|
143
|
-
| **
|
|
131
|
+
| Agent | Role | Badge |
|
|
132
|
+
|---|---|---|
|
|
133
|
+
| **architect** | Orchestrates workflow, writes plans, enforces gates | Core |
|
|
134
|
+
| **explorer** | Scans codebase, gathers context, maps facts | Core |
|
|
135
|
+
| **coder** | Implements one task at a time | Core |
|
|
136
|
+
| **reviewer** | Checks correctness and security | Core |
|
|
137
|
+
| **test_engineer** | Writes and runs tests, adversarial testing | Core |
|
|
138
|
+
| **critic** | Reviews plans before implementation begins | Core |
|
|
139
|
+
| **critic_oversight** | Sole quality gate in full-auto autonomous mode | Core |
|
|
140
|
+
| **sme** | Provides domain expertise guidance | Core |
|
|
141
|
+
| **docs** | Updates documentation to match implementation | Core |
|
|
142
|
+
| **designer** | Generates UI scaffolds and design tokens | Conditional |
|
|
143
|
+
| **critic_sounding_board** | Pre-escalation pushback to the architect | Optional |
|
|
144
|
+
| **critic_drift_verifier** | Verifies implementation matches spec | Optional |
|
|
145
|
+
| **critic_hallucination_verifier** | Verifies APIs and citations against real sources | Optional |
|
|
146
|
+
| **curator_init** | Consolidates prior knowledge at session start | Optional |
|
|
147
|
+
| **curator_phase** | Consolidates phase outcomes, detects workflow drift | Optional |
|
|
148
|
+
| **council_member** | Web-searches and deliberates in General Council | Conditional |
|
|
149
|
+
| **council_moderator** | Synthesizes council deliberation into final answer | Conditional |
|
|
150
|
+
|
|
151
|
+
Legend: Core = always available, Optional = available by default (can be disabled), Conditional = requires specific feature config (ui_review or council)
|
|
144
152
|
|
|
145
153
|
Run `/swarm status` and `/swarm agents` to see what's active.
|
|
146
154
|
|
|
155
|
+
```mermaid
|
|
156
|
+
graph TB
|
|
157
|
+
subgraph Orchestration
|
|
158
|
+
A[Architect]
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
subgraph Discovery
|
|
162
|
+
E[Explorer]
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
subgraph Execution
|
|
166
|
+
C[Coder]
|
|
167
|
+
T[Test Engineer]
|
|
168
|
+
D[Designer]
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
subgraph Quality
|
|
172
|
+
R[Reviewer]
|
|
173
|
+
CR[Critic]
|
|
174
|
+
CO[Critic Oversight]
|
|
175
|
+
CSB[Critic Sounding Board]
|
|
176
|
+
CDV[Critic Drift Verifier]
|
|
177
|
+
CHV[Critic Hallucination Verifier]
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
subgraph Support
|
|
181
|
+
S[SME]
|
|
182
|
+
DOC[Docs]
|
|
183
|
+
CI[Curator Init]
|
|
184
|
+
CP[Curator Phase]
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
subgraph Council
|
|
188
|
+
CM[Council Member]
|
|
189
|
+
CMO[Council Moderator]
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
A -->|Discover| E
|
|
193
|
+
E -->|Context| A
|
|
194
|
+
A -->|Consult| S
|
|
195
|
+
S -->|Guidance| A
|
|
196
|
+
A -->|Design| D
|
|
197
|
+
D -->|Scaffold| C
|
|
198
|
+
A -->|Implement| C
|
|
199
|
+
C -->|Review| R
|
|
200
|
+
R -->|Verify| A
|
|
201
|
+
C -->|Test| T
|
|
202
|
+
T -->|Results| A
|
|
203
|
+
A -->|Deliberate| CM
|
|
204
|
+
CM -->|Verdict| A
|
|
205
|
+
```
|
|
206
|
+
|
|
147
207
|
---
|
|
148
208
|
|
|
149
209
|
## How It Compares
|
|
150
210
|
|
|
151
211
|
| Feature | Swarm | oh-my-opencode | get-shit-done |
|
|
152
212
|
|---|:-:|:-:|:-:|
|
|
153
|
-
| Multiple specialized agents | ✅
|
|
213
|
+
| Multiple specialized agents | ✅ 17 agents | ❌ | ❌ |
|
|
154
214
|
| Plan reviewed before coding | ✅ | ❌ | ❌ |
|
|
155
215
|
| Every task reviewed + tested | ✅ | ❌ | ❌ |
|
|
156
216
|
| Different model for review vs. code | ✅ | ❌ | ❌ |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|