@henryqw/pi-subagent 28.0.0 → 28.0.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.
@@ -555,7 +555,8 @@ export function createDirectHerdr(pi, cwd, idleMs, kill = (pid, signal) => proce
555
555
  "--timeout", String(Math.max(1, Math.min(current === "idle" ? 1000 : OPERATION_MS - 1000, remaining)))];
556
556
  const waited = await herdr.exec(args, options(signal));
557
557
  if (waited.code !== 0 || waited.killed) {
558
- if (!waited.killed && hasHerdrErrorCode(waited, "timeout")) {
558
+ // A complete timeout permits another read-only wait, even if exec killed the command.
559
+ if (!signal.aborted && hasHerdrErrorCode(waited, "timeout")) {
559
560
  continue;
560
561
  }
561
562
  throw new Error(herdrCommandFailure(args, waited));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-subagent",
3
- "version": "28.0.0",
3
+ "version": "28.0.1",
4
4
  "description": "Delegate bounded direct work or durable checked isolated task graphs to Pi roles.",
5
5
  "keywords": [
6
6
  "pi-package",