@bacnh85/pi-subagent 0.3.0 → 0.3.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/package.json +1 -1
- package/runner.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bacnh85/pi-subagent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Minimal-overhead sub-agent extension for pi. Delegate tasks to specialized agents with isolated context using the pi SDK in-process.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/runner.ts
CHANGED
|
@@ -123,9 +123,9 @@ export async function runSubAgent(options: {
|
|
|
123
123
|
settingsManager,
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
+
let cleanupAbort: (() => void) | undefined;
|
|
126
127
|
try {
|
|
127
128
|
// Wire abort signal
|
|
128
|
-
let cleanupAbort: (() => void) | undefined;
|
|
129
129
|
if (signal) {
|
|
130
130
|
const onAbort = () => session.abort();
|
|
131
131
|
if (signal.aborted) {
|