opencode-swarm-plugin 0.54.2 → 0.56.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.
Files changed (45) hide show
  1. package/README.md +23 -12
  2. package/bin/swarm.ts +561 -16
  3. package/claude-plugin/.claude-plugin/plugin.json +14 -0
  4. package/claude-plugin/.lsp.json +1 -0
  5. package/claude-plugin/.mcp.json +10 -0
  6. package/claude-plugin/agents/background-worker.md +36 -0
  7. package/claude-plugin/agents/coordinator.md +39 -0
  8. package/claude-plugin/agents/worker.md +42 -0
  9. package/claude-plugin/bin/swarm-mcp-server.ts +103 -0
  10. package/claude-plugin/commands/handoff.md +17 -0
  11. package/claude-plugin/commands/hive.md +19 -0
  12. package/claude-plugin/commands/inbox.md +15 -0
  13. package/claude-plugin/commands/status.md +15 -0
  14. package/claude-plugin/commands/swarm.md +19 -0
  15. package/claude-plugin/hooks/hooks.json +48 -0
  16. package/claude-plugin/skills/swarm-coordination/SKILL.md +76 -0
  17. package/dist/bin/swarm.js +584 -93
  18. package/dist/examples/plugin-wrapper-template.ts +18 -3
  19. package/dist/hooks/atomic-write.d.ts +21 -0
  20. package/dist/hooks/atomic-write.d.ts.map +1 -0
  21. package/dist/hooks/constants.d.ts +28 -0
  22. package/dist/hooks/constants.d.ts.map +1 -0
  23. package/dist/hooks/index.d.ts +16 -0
  24. package/dist/hooks/index.d.ts.map +1 -0
  25. package/dist/hooks/session-start.d.ts +30 -0
  26. package/dist/hooks/session-start.d.ts.map +1 -0
  27. package/dist/hooks/tool-complete.d.ts +54 -0
  28. package/dist/hooks/tool-complete.d.ts.map +1 -0
  29. package/dist/index.d.ts +32 -18
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +69 -30
  32. package/dist/output-guardrails.d.ts.map +1 -1
  33. package/dist/plugin.js +69 -30
  34. package/dist/swarm-mail.d.ts +34 -0
  35. package/dist/swarm-mail.d.ts.map +1 -1
  36. package/dist/swarm-orchestrate.d.ts +1 -1
  37. package/dist/swarm-orchestrate.d.ts.map +1 -1
  38. package/dist/swarm-prompts.d.ts +1 -1
  39. package/dist/swarm-prompts.d.ts.map +1 -1
  40. package/dist/swarm-prompts.js +1 -30
  41. package/dist/tool-availability.d.ts +1 -2
  42. package/dist/tool-availability.d.ts.map +1 -1
  43. package/examples/plugin-wrapper-template.ts +18 -3
  44. package/global-skills/swarm-coordination/SKILL.md +1 -1
  45. package/package.json +4 -2
package/README.md CHANGED
@@ -25,6 +25,29 @@ npm install -g opencode-swarm-plugin@latest
25
25
  swarm setup
26
26
  ```
27
27
 
28
+ ### Claude Code Plugin (Marketplace)
29
+
30
+ ```text
31
+ /plugin
32
+ ```
33
+
34
+ Choose **Marketplace → opencode-swarm-plugin → Install**.
35
+
36
+ **Global install (npm):**
37
+
38
+ ```bash
39
+ # After `npm install -g opencode-swarm-plugin`
40
+ swarm claude install
41
+ ```
42
+
43
+ **Project-local config (standalone):**
44
+
45
+ ```bash
46
+ swarm claude init
47
+ ```
48
+
49
+ **MCP auto-launch:** Claude Code starts MCP servers declared in the plugin `mcpServers` config automatically. You only need `swarm mcp-serve` when debugging outside Claude Code.
50
+
28
51
  ### 2. Initialize in Your Project
29
52
 
30
53
  ```bash
@@ -218,18 +241,6 @@ pip install -e .
218
241
  cass index # Run periodically to index new sessions
219
242
  ```
220
243
 
221
- ### Bug Scanning (UBS)
222
-
223
- Auto-runs on subtask completion:
224
-
225
- ```bash
226
- git clone https://github.com/Dicklesworthstone/ultimate_bug_scanner
227
- cd ultimate_bug_scanner
228
- pip install -e .
229
- ```
230
-
231
- Check status: `swarm doctor`
232
-
233
244
  ---
234
245
 
235
246
  ## Core Concepts