@zachwill/pi-orchestrate 0.2.0 → 0.2.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.
@@ -1345,7 +1345,8 @@ function throwIfAborted(signal: AbortSignal | undefined): void {
1345
1345
  }
1346
1346
 
1347
1347
  function abortSignalReason(signal: AbortSignal): unknown {
1348
- return signal.reason ?? new DOMException("This operation was aborted", "AbortError");
1348
+ if ("reason" in signal) return signal.reason;
1349
+ return new DOMException("This operation was aborted", "AbortError");
1349
1350
  }
1350
1351
 
1351
1352
  function addAll(target: Set<string>, source: ReadonlySet<string>): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zachwill/pi-orchestrate",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Concurrent worker orchestration for Pi",
6
6
  "files": ["extension/", "examples/", "README.md", "LICENSE"],
@@ -21,7 +21,7 @@
21
21
  "extensions": ["./extension/index.ts"]
22
22
  },
23
23
  "scripts": {
24
- "typecheck": "tsc --noEmit",
24
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
25
25
  "test": "bun test"
26
26
  },
27
27
  "dependencies": {
@@ -39,6 +39,7 @@
39
39
  "@earendil-works/pi-ai": "0.80.10",
40
40
  "@earendil-works/pi-coding-agent": "0.80.10",
41
41
  "@earendil-works/pi-tui": "0.80.10",
42
+ "@types/bun": "^1.3.14",
42
43
  "@types/node": "^22.19.17",
43
44
  "typebox": "^1.1.37",
44
45
  "typescript": "^5.9.3"