@openspoon/subtask2 0.1.15 → 0.1.16
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 +14 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,32 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# A stronger opencode /command handler
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### TL:DR - Keep the agentic loop alive + parallel commands
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This plugins affects how opencode handles slash commands with additional frontmatter parameters and enables parallel command execution. Super powers for your slash commands
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
```json
|
|
10
|
-
{
|
|
11
|
-
"plugins": ["@openspoon/subtask2"]
|
|
12
|
-
}
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## TL:DR - Keep the agentic loop alive + parallel commands
|
|
16
|
-
|
|
17
|
-
This plugins affects how opencode handles commands with additional frontmatter parameters and enables parallel commands
|
|
18
|
-
|
|
19
|
-
- `return` tell the main agent what to do with command or subtask(s) results. Supports multiple sequential prompts.
|
|
7
|
+
- `return` tell the main agent what to do with **command** or **subtask(s)** results. Supports multiple sequential prompts.
|
|
20
8
|
- `parallel` run multiple subtasks concurrently (accepts arguments)
|
|
21
9
|
|
|
22
|
-
⚠️ Requires [this PR](https://github.com/sst/opencode/pull/6478) for `parallel` and
|
|
10
|
+
⚠️ Requires [this PR](https://github.com/sst/opencode/pull/6478) for `parallel` and `subtask:false` command features, as well as proper model inheritance (piping the right model and agent to the right subtask) to work.
|
|
23
11
|
|
|
24
12
|
---
|
|
25
13
|
|
|
26
14
|
<details>
|
|
27
15
|
<summary><strong>Some examples</strong> (click to expand)</summary>
|
|
28
16
|
|
|
29
|
-
**Parallel subtask with different models (A/B plan comparison)**
|
|
17
|
+
**Parallel subtask with different models (A/B/C plan comparison)**
|
|
30
18
|
|
|
31
19
|
```yaml
|
|
32
20
|
---
|
|
@@ -209,6 +197,12 @@ Configure in `~/.config/opencode/subtask2.jsonc`:
|
|
|
209
197
|
|
|
210
198
|
</details>
|
|
211
199
|
|
|
212
|
-
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
To install, add subtask2 to your opencode config plugin array
|
|
213
203
|
|
|
214
|
-
|
|
204
|
+
```json
|
|
205
|
+
{
|
|
206
|
+
"plugins": ["@openspoon/subtask2"]
|
|
207
|
+
}
|
|
208
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@openspoon/subtask2",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.16",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Opencode plugin for enhanced subtask control with return context and prompt chaining",
|
|
7
7
|
"main": "./dist/index.js",
|