@poolzin/pool-bot 2026.2.9 → 2026.2.11
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 +14 -0
- package/dist/agents/bash-tools.exec.js +5 -2
- package/dist/build-info.json +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## v2026.2.11 (2026-02-16)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
- Restore default exec timeout to 1800s (30 min) — the 120s default from v2026.2.10 could kill long-running installs/builds; env var override `POOLBOT_EXEC_TIMEOUT_SEC` and config `tools.exec.timeoutSec` still available for per-deployment tuning
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## v2026.2.10 (2026-02-16)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- Reduce default exec tool timeout from 1800s (30 min) to 120s (2 min) — prevents bot from silently hanging on stuck bash commands; per-call timeout param and config `tools.exec.timeoutSec` still override; new env vars `POOLBOT_EXEC_TIMEOUT_SEC` / `CLAWDBOT_EXEC_TIMEOUT_SEC` for further control
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
## v2026.2.9 (2026-02-15)
|
|
2
16
|
|
|
3
17
|
### Improvements
|
|
@@ -58,6 +58,9 @@ function validateHostEnv(env) {
|
|
|
58
58
|
const DEFAULT_MAX_OUTPUT = clampNumber(readEnvInt("PI_BASH_MAX_OUTPUT_CHARS"), 200_000, 1_000, 200_000);
|
|
59
59
|
const DEFAULT_PENDING_MAX_OUTPUT = clampNumber(readEnvInt("POOLBOT_BASH_PENDING_MAX_OUTPUT_CHARS") ??
|
|
60
60
|
readEnvInt("CLAWDBOT_BASH_PENDING_MAX_OUTPUT_CHARS"), 200_000, 1_000, 200_000);
|
|
61
|
+
// Default exec timeout: 1800s (30 min) to accommodate long installs/builds.
|
|
62
|
+
// Users can override via config (`tools.exec.timeoutSec`) or env var.
|
|
63
|
+
const DEFAULT_EXEC_TIMEOUT_SEC = clampNumber(readEnvInt("POOLBOT_EXEC_TIMEOUT_SEC") ?? readEnvInt("CLAWDBOT_EXEC_TIMEOUT_SEC"), 1800, 1, 86_400);
|
|
61
64
|
const DEFAULT_PATH = process.env.PATH ?? "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
|
62
65
|
const DEFAULT_NOTIFY_TAIL_CHARS = 400;
|
|
63
66
|
const DEFAULT_APPROVAL_TIMEOUT_MS = 120_000;
|
|
@@ -73,7 +76,7 @@ const execSchema = Type.Object({
|
|
|
73
76
|
})),
|
|
74
77
|
background: Type.Optional(Type.Boolean({ description: "Run in background immediately" })),
|
|
75
78
|
timeout: Type.Optional(Type.Number({
|
|
76
|
-
description: "Timeout in seconds (
|
|
79
|
+
description: "Timeout in seconds (default 1800, kills process on expiry).",
|
|
77
80
|
})),
|
|
78
81
|
pty: Type.Optional(Type.Boolean({
|
|
79
82
|
description: "Run in a pseudo-terminal (PTY) when available (TTY-required CLIs, coding agents)",
|
|
@@ -559,7 +562,7 @@ export function createExecTool(defaults) {
|
|
|
559
562
|
const allowBackground = defaults?.allowBackground ?? true;
|
|
560
563
|
const defaultTimeoutSec = typeof defaults?.timeoutSec === "number" && defaults.timeoutSec > 0
|
|
561
564
|
? defaults.timeoutSec
|
|
562
|
-
:
|
|
565
|
+
: DEFAULT_EXEC_TIMEOUT_SEC;
|
|
563
566
|
const defaultPathPrepend = normalizePathPrepend(defaults?.pathPrepend);
|
|
564
567
|
const safeBins = resolveSafeBins(defaults?.safeBins);
|
|
565
568
|
const notifyOnExit = defaults?.notifyOnExit !== false;
|
package/dist/build-info.json
CHANGED