swarm-control 0.1.9 → 0.1.10
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/package.json
CHANGED
package/templates/swarm_model.md
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Configure model for swarm task decomposition
|
|
3
3
|
---
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Usage: /swarm_model <model-name>
|
|
7
|
-
|
|
8
|
-
Example: /swarm_model anthropic/claude-3-5-sonnet-20241022
|
|
9
|
-
|
|
10
|
-
This must be configured before using /swarm_spawn.
|
|
4
|
+
Change the agent model inside of `~/.config/opencode/agent/swarm-worker.md` into `$1`. Be sure to only edit the "frontmatter" of the document, nothing else.
|
package/templates/swarm_spawn.md
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Spawn a swarm of subagents to tackle a complex programming task
|
|
3
3
|
---
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Usage: /swarm_spawn "<task description>" [--maxWorkers N]
|
|
7
|
-
|
|
8
|
-
Example: /swarm_spawn "Add error handling to all API endpoints in src/api/"
|
|
9
|
-
|
|
10
|
-
The task will be automatically decomposed into file-based subtasks and executed by up to 4 worker subagents.
|
|
4
|
+
Create a new `swarm-worker.md` subagent to do:
|
|
5
|
+
$1
|
|
@@ -3,9 +3,7 @@ description: Show status of current or recent swarm tasks
|
|
|
3
3
|
---
|
|
4
4
|
Use the swarm_status tool to check the progress of swarm tasks.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
This will show:
|
|
6
|
+
This should show:
|
|
9
7
|
- Current task information
|
|
10
8
|
- Subtask progress
|
|
11
9
|
- Worker status
|