@poolzin/pool-bot 2026.2.10 → 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 +7 -0
- package/dist/agents/bash-tools.exec.js +4 -6
- package/dist/build-info.json +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
## v2026.2.10 (2026-02-16)
|
|
2
9
|
|
|
3
10
|
### Fixes
|
|
@@ -58,11 +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:
|
|
62
|
-
//
|
|
63
|
-
|
|
64
|
-
// Previous default (1800s / 30 min) caused the bot to hang silently on stuck commands.
|
|
65
|
-
const DEFAULT_EXEC_TIMEOUT_SEC = clampNumber(readEnvInt("POOLBOT_EXEC_TIMEOUT_SEC") ?? readEnvInt("CLAWDBOT_EXEC_TIMEOUT_SEC"), 120, 1, 86_400);
|
|
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);
|
|
66
64
|
const DEFAULT_PATH = process.env.PATH ?? "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
|
67
65
|
const DEFAULT_NOTIFY_TAIL_CHARS = 400;
|
|
68
66
|
const DEFAULT_APPROVAL_TIMEOUT_MS = 120_000;
|
|
@@ -78,7 +76,7 @@ const execSchema = Type.Object({
|
|
|
78
76
|
})),
|
|
79
77
|
background: Type.Optional(Type.Boolean({ description: "Run in background immediately" })),
|
|
80
78
|
timeout: Type.Optional(Type.Number({
|
|
81
|
-
description: "Timeout in seconds (default
|
|
79
|
+
description: "Timeout in seconds (default 1800, kills process on expiry).",
|
|
82
80
|
})),
|
|
83
81
|
pty: Type.Optional(Type.Boolean({
|
|
84
82
|
description: "Run in a pseudo-terminal (PTY) when available (TTY-required CLIs, coding agents)",
|
package/dist/build-info.json
CHANGED