@openspoon/subtask2 0.1.0 → 0.1.2

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 +4 -11
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -17,12 +17,6 @@ Add to your `opencode.json`:
17
17
  }
18
18
  ```
19
19
 
20
- or
21
-
22
- ```bash
23
- npm install @openspoon/subtask2
24
- ```
25
-
26
20
  ## Usage
27
21
 
28
22
  Add `return` and/or `chain` to your command frontmatter:
@@ -33,7 +27,7 @@ Add `return` and/or `chain` to your command frontmatter:
33
27
 
34
28
  ```markdown
35
29
  ---
36
- description: Review code changes and create summary
30
+ description: subtask2 return and chain prompt example
37
31
  agent: general
38
32
  subtask: true
39
33
  return: You are the agent in charge of assessing the bug review, challenge, verify and validate it, then discard it or implement it.
@@ -47,10 +41,9 @@ Review PR#355 for bugs, security issues, and code style problems.
47
41
 
48
42
  ## How It Works
49
43
 
50
- 1. When a subtask command with `return` executes, the return text is appended to the task output
51
- 2. When the subtask completes, each `chain` prompt is sent as a synthetic user message
52
- 3. Chain prompts execute sequentially, each waiting for the previous to complete
53
-
44
+ 1. When a subtask command with `return` executes, the return prompt is appended to the task output
45
+ 2. When the subtask completes, each `chain` prompt is sent as a synthetic user message (hidden to the user)
46
+ 3. Chain prompts execute sequentially
54
47
  ## License
55
48
 
56
49
  MIT
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@openspoon/subtask2",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "description": "Opencode plugin for enhanced subtask control with return context and prompt chaining",
7
- "main": "./dist/subtask2/index.js",
8
- "types": "./dist/subtask2/index.d.ts",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
9
  "scripts": {
10
10
  "clean": "rm -rf dist",
11
11
  "build": "npm run clean && tsc",