@oai404iao/pi-subagent 0.4.1 → 0.5.1
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 +4 -2
- package/package.json +11 -11
- package/src/coordinator.ts +1 -0
- package/src/providers.ts +2 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ The design independently adapts the
|
|
|
5
5
|
[DeepSeek Harness subagent seam](https://github.com/deepseek-ai/deepseek-harness/tree/4d03472cd098dc48a630e526ca620f4f37f18a0e/docs/subsystems)
|
|
6
6
|
to Pi's extension and SDK APIs.
|
|
7
7
|
|
|
8
|
-
Peer floor: Pi 0.
|
|
8
|
+
Peer floor: Pi 0.86.1; tested against 0.86.1.
|
|
9
9
|
|
|
10
10
|
> npm identity: `@oai404iao/pi-subagent`. Once the selected version is
|
|
11
11
|
> available on npm, install it from npm; use a local checkout before its
|
|
@@ -67,7 +67,7 @@ For a temporary test:
|
|
|
67
67
|
pi -e /absolute/path/to/pi-extensions/pi-subagent
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
Development and the supported compatibility floor are pinned to Pi `0.
|
|
70
|
+
Development and the supported compatibility floor are pinned to Pi `0.86.1`.
|
|
71
71
|
|
|
72
72
|
## Model-facing tools
|
|
73
73
|
|
|
@@ -288,6 +288,8 @@ Frontmatter:
|
|
|
288
288
|
| `thinking` | no | `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, or `max`. |
|
|
289
289
|
|
|
290
290
|
For continuable children, `report` is retained even when the agent has a tool allowlist.
|
|
291
|
+
One-shot children exclude `report` through Pi's native `excludeTools`, including
|
|
292
|
+
late registrations by inherited extensions, even when `tools` is omitted.
|
|
291
293
|
|
|
292
294
|
### Tool policy and inherited extensions
|
|
293
295
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oai404iao/pi-subagent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Durable, continuable subagents for Pi with spawn/fork providers and lifecycle controls.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@earendil-works/pi-agent-core": ">=0.
|
|
35
|
-
"@earendil-works/pi-ai": ">=0.
|
|
36
|
-
"@earendil-works/pi-coding-agent": ">=0.
|
|
37
|
-
"@earendil-works/pi-tui": ">=0.
|
|
34
|
+
"@earendil-works/pi-agent-core": ">=0.86.1",
|
|
35
|
+
"@earendil-works/pi-ai": ">=0.86.1",
|
|
36
|
+
"@earendil-works/pi-coding-agent": ">=0.86.1",
|
|
37
|
+
"@earendil-works/pi-tui": ">=0.86.1",
|
|
38
38
|
"typebox": "*"
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@oai404iao/pi-codex-minimal-tools": "
|
|
41
|
+
"@oai404iao/pi-codex-minimal-tools": "3.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@earendil-works/pi-agent-core": "0.
|
|
45
|
-
"@earendil-works/pi-ai": "0.
|
|
46
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
47
|
-
"@earendil-works/pi-tui": "0.
|
|
44
|
+
"@earendil-works/pi-agent-core": "0.86.1",
|
|
45
|
+
"@earendil-works/pi-ai": "0.86.1",
|
|
46
|
+
"@earendil-works/pi-coding-agent": "0.86.1",
|
|
47
|
+
"@earendil-works/pi-tui": "0.86.1",
|
|
48
48
|
"@types/node": "^26.2.0",
|
|
49
49
|
"tsx": "^4.20.6",
|
|
50
50
|
"typebox": "^1.1.24",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"optional": true
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "c791e1192d0547834c3e2f2bae7853fb214f9808"
|
|
92
92
|
}
|
package/src/coordinator.ts
CHANGED
package/src/providers.ts
CHANGED
|
@@ -201,6 +201,8 @@ function appendInheritedEntry(
|
|
|
201
201
|
entry: SessionEntry,
|
|
202
202
|
): void {
|
|
203
203
|
if (entry.type === "message") {
|
|
204
|
+
// Children inherit conversation data, not the parent's prompt or executable loadout.
|
|
205
|
+
if (entry.message.role === "system") return;
|
|
204
206
|
if (entry.message.role === "compactionSummary") {
|
|
205
207
|
session.appendCustomMessageEntry(
|
|
206
208
|
INHERITED_COMPACTION_CUSTOM_TYPE,
|