opencode-swarm-plugin 0.12.0 → 0.12.4
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 +21 -4
- package/bin/swarm.ts +8 -8
- package/examples/commands/swarm.md +7 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -192,14 +192,31 @@ Edit these files to customize behavior. Run `swarm setup` to regenerate defaults
|
|
|
192
192
|
| [OpenCode](https://opencode.ai) | Plugin host | Yes |
|
|
193
193
|
| [Beads](https://github.com/steveyegge/beads) | Git-backed issue tracking | Yes |
|
|
194
194
|
| [Go](https://go.dev) | Required for Agent Mail | No |
|
|
195
|
-
| [Agent Mail](https://github.com/
|
|
196
|
-
| [CASS](https://github.com/Dicklesworthstone/
|
|
197
|
-
| [UBS](https://github.com/
|
|
195
|
+
| [MCP Agent Mail](https://github.com/Dicklesworthstone/mcp_agent_mail) | Multi-agent coordination, file reservations | No |
|
|
196
|
+
| [CASS (Coding Agent Session Search)](https://github.com/Dicklesworthstone/coding_agent_session_search) | Historical context from past sessions | No |
|
|
197
|
+
| [UBS (Ultimate Bug Scanner)](https://github.com/Dicklesworthstone/ultimate_bug_scanner) | Pre-completion bug scanning using AI-powered static analysis | No |
|
|
198
198
|
| [semantic-memory](https://github.com/joelhooks/semantic-memory) | Learning persistence | No |
|
|
199
199
|
| [Redis](https://redis.io) | Rate limiting (SQLite fallback available) | No |
|
|
200
200
|
|
|
201
201
|
All dependencies are checked and can be installed via `swarm setup`.
|
|
202
202
|
|
|
203
|
+
### Installing Optional Dependencies
|
|
204
|
+
|
|
205
|
+
**UBS (Ultimate Bug Scanner)** - Scans code for bugs before task completion:
|
|
206
|
+
```bash
|
|
207
|
+
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/ultimate_bug_scanner/master/install.sh" | bash
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**CASS (Coding Agent Session Search)** - Indexes and searches AI coding agent history:
|
|
211
|
+
```bash
|
|
212
|
+
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/coding_agent_session_search/main/install.sh | bash -s -- --easy-mode
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**MCP Agent Mail** - Multi-agent coordination and file reservations:
|
|
216
|
+
```bash
|
|
217
|
+
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/mcp_agent_mail/main/scripts/install.sh" | bash -s -- --yes
|
|
218
|
+
```
|
|
219
|
+
|
|
203
220
|
## Tools Reference
|
|
204
221
|
|
|
205
222
|
### Swarm
|
|
@@ -214,7 +231,7 @@ All dependencies are checked and can be installed via `swarm setup`.
|
|
|
214
231
|
| `swarm_spawn_subtask` | Generate worker agent prompt with Agent Mail/beads instructions |
|
|
215
232
|
| `swarm_status` | Get swarm progress by epic ID |
|
|
216
233
|
| `swarm_progress` | Report subtask progress to coordinator |
|
|
217
|
-
| `swarm_complete` | Complete subtask - runs UBS
|
|
234
|
+
| `swarm_complete` | Complete subtask - runs UBS (Ultimate Bug Scanner), releases reservations |
|
|
218
235
|
| `swarm_record_outcome` | Record outcome for learning (duration, errors, retries) |
|
|
219
236
|
|
|
220
237
|
### Beads
|
package/bin/swarm.ts
CHANGED
|
@@ -346,7 +346,7 @@ const DEPENDENCIES: Dependency[] = [
|
|
|
346
346
|
description: "Required for Agent Mail",
|
|
347
347
|
},
|
|
348
348
|
{
|
|
349
|
-
name: "Agent Mail",
|
|
349
|
+
name: "MCP Agent Mail",
|
|
350
350
|
command: "curl",
|
|
351
351
|
checkArgs: [
|
|
352
352
|
"-s",
|
|
@@ -363,25 +363,25 @@ const DEPENDENCIES: Dependency[] = [
|
|
|
363
363
|
required: false,
|
|
364
364
|
install: "https://github.com/Dicklesworthstone/mcp_agent_mail",
|
|
365
365
|
installType: "manual",
|
|
366
|
-
description: "Multi-agent coordination & file reservations",
|
|
366
|
+
description: "Multi-agent coordination & file reservations (like Gmail for coding agents)",
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
|
-
name: "CASS",
|
|
369
|
+
name: "CASS (Coding Agent Session Search)",
|
|
370
370
|
command: "cass",
|
|
371
371
|
checkArgs: ["--help"],
|
|
372
372
|
required: false,
|
|
373
|
-
install: "https://github.com/Dicklesworthstone/
|
|
373
|
+
install: "https://github.com/Dicklesworthstone/coding_agent_session_search",
|
|
374
374
|
installType: "manual",
|
|
375
|
-
description: "
|
|
375
|
+
description: "Indexes and searches AI coding agent history for context",
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
|
-
name: "UBS",
|
|
378
|
+
name: "UBS (Ultimate Bug Scanner)",
|
|
379
379
|
command: "ubs",
|
|
380
380
|
checkArgs: ["--help"],
|
|
381
381
|
required: false,
|
|
382
|
-
install: "https://github.com/
|
|
382
|
+
install: "https://github.com/Dicklesworthstone/ultimate_bug_scanner",
|
|
383
383
|
installType: "manual",
|
|
384
|
-
description: "
|
|
384
|
+
description: "AI-powered static analysis for pre-completion bug scanning",
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
name: "semantic-memory",
|
|
@@ -177,11 +177,17 @@ swarm_complete with project_key=$PWD, agent_name=<YOUR_NAME>, bead_id="<epic-id>
|
|
|
177
177
|
|
|
178
178
|
This:
|
|
179
179
|
|
|
180
|
-
- Runs UBS
|
|
180
|
+
- Runs [UBS (Ultimate Bug Scanner)](https://github.com/Dicklesworthstone/ultimate_bug_scanner) on touched files to detect bugs before completion
|
|
181
181
|
- Releases file reservations
|
|
182
182
|
- Closes the bead
|
|
183
183
|
- Records outcome for learning
|
|
184
184
|
|
|
185
|
+
> **Note:** UBS is optional but recommended. If not installed, swarm completion proceeds with a warning that manual review is advised. Install via:
|
|
186
|
+
> ```bash
|
|
187
|
+
> curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/ultimate_bug_scanner/master/install.sh" | bash
|
|
188
|
+
> ```
|
|
189
|
+
> See the [UBS repo](https://github.com/Dicklesworthstone/ultimate_bug_scanner) for more options (Docker, Nix, etc.).
|
|
190
|
+
|
|
185
191
|
Then sync beads:
|
|
186
192
|
|
|
187
193
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm-plugin",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Multi-agent swarm coordination for OpenCode with learning capabilities, beads integration, and Agent Mail",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
"test:integration": "bun test src/*.integration.test.ts",
|
|
23
23
|
"test:all": "bun test",
|
|
24
24
|
"typecheck": "tsc --noEmit",
|
|
25
|
-
"clean": "rm -rf dist"
|
|
25
|
+
"clean": "rm -rf dist",
|
|
26
|
+
"release": "npm run build && npm version patch && git push && npm run publish:otp",
|
|
27
|
+
"release:minor": "npm run build && npm version minor && git push && npm run publish:otp",
|
|
28
|
+
"release:major": "npm run build && npm version major && git push && npm run publish:otp",
|
|
29
|
+
"publish:otp": "bash -c 'source .env && npm publish --otp=$(op item get $NPM_1P_ITEM --otp)'"
|
|
26
30
|
},
|
|
27
31
|
"dependencies": {
|
|
28
32
|
"@clack/prompts": "^0.11.0",
|