@openspoon/subtask2 0.1.14 → 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.
Files changed (2) hide show
  1. package/README.md +18 -25
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,32 +1,20 @@
1
- # subtask2 - a stronger opencode /command handler
1
+ # A stronger opencode /command handler
2
2
 
3
- Give super powers to your slash commands with `@openspoon/subtask2`
3
+ ### TL:DR - Keep the agentic loop alive + parallel commands
4
4
 
5
- ## Installation
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
- Add subtask2 to your opencode config plugin array
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 non-subtask command features, as well as proper model inheritance (piping the right model and agent to the right subtask) to work.
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
- ## Examples
12
+ ---
25
13
 
26
14
  <details>
27
- <summary><strong>Checkout some use cases</strong> (click to expand)</summary>
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
  ---
@@ -87,9 +75,8 @@ Conceptually design a React modal component with the following requirements
87
75
 
88
76
  </details>
89
77
 
90
- ---
91
-
92
- ## Features
78
+ <details>
79
+ <summary><strong>Feature documentation</strong> (click to expand)</summary>
93
80
 
94
81
  ### 1. `return` - Command return instructions (supports chaining)
95
82
 
@@ -208,8 +195,14 @@ Configure in `~/.config/opencode/subtask2.jsonc`:
208
195
  3. **Built-in default** → "Challenge and validate..." (if `replace_generic: true`)
209
196
  4. **OpenCode original** → "Summarize..." (if `replace_generic: false`)
210
197
 
198
+ </details>
199
+
211
200
  ---
212
201
 
213
- ## License
202
+ To install, add subtask2 to your opencode config plugin array
214
203
 
215
- MIT
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.14",
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",