@bacnh85/pi-subagent 0.12.2 → 0.12.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.4 (2026-07-30)
4
+
5
+ ### Improvements
6
+
7
+ - Widen Pi peer dependency range to <0.84.0 for Pi 0.83.0 compatibility.
8
+
9
+ ## 0.12.3 (2026-07-30)
10
+
11
+ ### Improvements
12
+
13
+ - Patch version bump for release sync and package documentation update.
14
+
3
15
  ## 0.12.0 (2026-07-24)
4
16
 
5
17
  ### Model routing
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # pi-subagent
1
+ # @bacnh85/pi-subagent
2
2
 
3
3
  Isolated in-process subagents for Pi. The `subagent` tool supports single, parallel (8 tasks, 4 concurrent), and chained execution; `/agent` opens inspectable child threads.
4
4
 
@@ -6,8 +6,6 @@ Isolated in-process subagents for Pi. The `subagent` tool supports single, paral
6
6
 
7
7
  ```bash
8
8
  pi install npm:@bacnh85/pi-subagent
9
- # local checkout
10
- pi install ./pi-subagent
11
9
  ```
12
10
 
13
11
  Requires Node.js >= 20.18.
@@ -171,12 +169,16 @@ The raw `stopReason` from the Pi SDK is preserved in the result.
171
169
 
172
170
  `pi-subagent` owns the `pi-subagent:run` event contract for one named-agent request. `pi-review` uses it for isolated review. Requests use an immediate boolean `accept()` claim and exactly one `respond()` callback; this suppresses duplicate responders while missing services and timeouts remain caller-controlled.
173
171
 
172
+ ## Changelog
173
+
174
+ See [CHANGELOG.md](CHANGELOG.md) for release history.
175
+
174
176
  ## Compatibility
175
177
 
176
- - Requires `@earendil-works/pi-coding-agent >=0.80.0 <0.81.0`
177
- - Requires `@earendil-works/pi-ai >=0.80.0 <0.81.0`
178
- - Requires `@earendil-works/pi-agent-core >=0.80.0 <0.81.0`
179
- - Requires `@earendil-works/pi-tui >=0.80.0 <0.81.0`
178
+ - Requires `@earendil-works/pi-coding-agent >=0.80.0 <0.83.0`
179
+ - Requires `@earendil-works/pi-ai >=0.80.0 <0.83.0`
180
+ - Requires `@earendil-works/pi-agent-core >=0.80.0 <0.83.0`
181
+ - Requires `@earendil-works/pi-tui >=0.80.0 <0.83.0`
180
182
  - Requires `typebox >=1.3.0 <2.0.0`
181
183
  - Requires Node.js >= 20.18
182
184
 
@@ -112,7 +112,9 @@ export async function runSubAgent(options: {
112
112
  getExtensions: () => ({ extensions: [], errors: [], runtime: createExtensionRuntime() }),
113
113
  getSkills: () => ({ skills: [], diagnostics: [] }), getPrompts: () => ({ prompts: [], diagnostics: [] }),
114
114
  getThemes: () => ({ themes: [], diagnostics: [] }), getAgentsFiles: () => ({ agentsFiles: [] }),
115
- getSystemPrompt: () => systemPrompt, getAppendSystemPrompt: () => [], extendResources: () => {}, reload: async () => {},
115
+ getSystemPrompt: () => systemPrompt, getSystemPromptSource: () => undefined,
116
+ getAppendSystemPrompt: () => [], getAppendSystemPromptSources: () => [],
117
+ extendResources: () => {}, reload: async () => {},
116
118
  };
117
119
  const settingsManager = SettingsManager.inMemory({ compaction: { enabled: false }, retry: { enabled: true, maxRetries: 1 } });
118
120
  const startedAt = Date.now();
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@bacnh85/pi-subagent",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "In-process subagents for Pi with isolated SDK sessions, parallel and chained delegation, and inspectable threads.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
- "publishConfig": { "access": "public" },
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
8
10
  "homepage": "https://github.com/bacnh85/pi-extensions/tree/main/pi-subagent",
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "git+https://github.com/bacnh85/pi-extensions.git",
12
14
  "directory": "pi-subagent"
13
15
  },
14
- "bugs": { "url": "https://github.com/bacnh85/pi-extensions/issues" },
16
+ "bugs": {
17
+ "url": "https://github.com/bacnh85/pi-extensions/issues"
18
+ },
15
19
  "keywords": [
16
20
  "pi-package",
17
21
  "pi-extension",
@@ -38,7 +42,11 @@
38
42
  "extensions/security.ts",
39
43
  "extensions/package.json"
40
44
  ],
41
- "pi": { "extensions": ["./extensions/index.ts"] },
45
+ "pi": {
46
+ "extensions": [
47
+ "./extensions/index.ts"
48
+ ]
49
+ },
42
50
  "engines": {
43
51
  "node": ">=20.18"
44
52
  },
@@ -48,17 +56,17 @@
48
56
  "check": "npm run typecheck && npm test"
49
57
  },
50
58
  "peerDependencies": {
51
- "@earendil-works/pi-coding-agent": ">=0.80.0 <0.83.0",
52
- "@earendil-works/pi-ai": ">=0.80.0 <0.83.0",
53
- "@earendil-works/pi-agent-core": ">=0.80.0 <0.83.0",
54
- "@earendil-works/pi-tui": ">=0.80.0 <0.83.0",
59
+ "@earendil-works/pi-coding-agent": ">=0.80.0 <0.84.0",
60
+ "@earendil-works/pi-ai": ">=0.80.0 <0.84.0",
61
+ "@earendil-works/pi-agent-core": ">=0.80.0 <0.84.0",
62
+ "@earendil-works/pi-tui": ">=0.80.0 <0.84.0",
55
63
  "typebox": ">=1.3.0 <2.0.0"
56
64
  },
57
65
  "devDependencies": {
58
- "@earendil-works/pi-agent-core": "^0.82.0",
59
- "@earendil-works/pi-ai": "^0.82.0",
60
- "@earendil-works/pi-coding-agent": "^0.82.0",
61
- "@earendil-works/pi-tui": "^0.82.0",
66
+ "@earendil-works/pi-agent-core": "^0.83.0",
67
+ "@earendil-works/pi-ai": "^0.83.0",
68
+ "@earendil-works/pi-coding-agent": "^0.83.0",
69
+ "@earendil-works/pi-tui": "^0.83.0",
62
70
  "@types/mocha": "^10.0.10",
63
71
  "@types/node": "^20.19.43",
64
72
  "mocha": "^10.8.2",