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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagent-manager",
3
- "version": "0.29.1",
3
+ "version": "0.29.3",
4
4
  "description": "Hierarchical, steerable subagent threads for pi",
5
5
  "type": "module",
6
6
  "engines": {
@@ -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
  }