pi-subagent-manager 0.29.1 → 0.29.3
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/src/orch/manager.ts +3 -1
package/package.json
CHANGED
package/src/orch/manager.ts
CHANGED
|
@@ -36,7 +36,7 @@ interface Record {
|
|
|
36
36
|
liveInputTokens?: number;
|
|
37
37
|
liveOutputTokens?: number;
|
|
38
38
|
liveCostUsd?: number;
|
|
39
|
-
/** Detached (spawned with wait:false): completion is reported as an event. */
|
|
39
|
+
/** Detached (spawned with wait:false or resumed): completion is reported as an event. */
|
|
40
40
|
async?: boolean;
|
|
41
41
|
timeoutTimer?: ReturnType<typeof setTimeout>;
|
|
42
42
|
pauseRequested: boolean;
|
|
@@ -414,6 +414,8 @@ export class ThreadManager {
|
|
|
414
414
|
return rearm();
|
|
415
415
|
}
|
|
416
416
|
this.assertCapacity();
|
|
417
|
+
// Resumes return immediately, regardless of the original spawn mode or restored metadata.
|
|
418
|
+
record.async = true;
|
|
417
419
|
this.start(record, message);
|
|
418
420
|
return rearm();
|
|
419
421
|
}
|