fix: cap pending process output

This commit is contained in:
Peter Steinberger
2026-01-17 08:18:27 +00:00
parent eef3df9fa5
commit d8b463d0b3
4 changed files with 166 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ When spawning long-running child processes outside the exec/process tools (for e
Environment overrides:
- `PI_BASH_YIELD_MS`: default yield (ms)
- `PI_BASH_MAX_OUTPUT_CHARS`: inmemory output cap (chars)
- `CLAWDBOT_BASH_PENDING_MAX_OUTPUT_CHARS`: pending stdout/stderr cap per stream (chars)
- `PI_BASH_JOB_TTL_MS`: TTL for finished sessions (ms, bounded to 1m3h)
Config (preferred):