@hienlh/ppm 0.9.35 → 0.9.36
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.36] - 2026-04-06
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Stream timeout during tool execution**: Per-event timeout increased from 60s to 180s. Tool calls (bash, file writes, memory saves) frequently exceed 60s between events, causing premature stream termination.
|
|
7
|
+
|
|
3
8
|
## [0.9.35] - 2026-04-06
|
|
4
9
|
|
|
5
10
|
### Fixed
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
|
|
9
9
|
const MAX_MSG_LEN = 4096;
|
|
10
10
|
const TYPING_REFRESH_MS = 4000;
|
|
11
|
-
const EVENT_TIMEOUT_MS =
|
|
11
|
+
const EVENT_TIMEOUT_MS = 180_000; // 3 min max wait per event (tool execution can be slow)
|
|
12
12
|
const PLACEHOLDER = "\u2026"; // ellipsis
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -29,7 +29,7 @@ async function* withEventTimeout<T>(
|
|
|
29
29
|
),
|
|
30
30
|
]);
|
|
31
31
|
if ("timedOut" in result) {
|
|
32
|
-
throw new Error("No response within
|
|
32
|
+
throw new Error("No response within 3 minutes");
|
|
33
33
|
}
|
|
34
34
|
if (result.done) break;
|
|
35
35
|
yield result.value;
|