clanker-agent/packages
Harivansh Rathi 479124d945 fix: add default timeout and no-output timeout to bash tool
Bash tool had no default timeout, so commands like `npx serve` would
block the agent loop forever. This caused the randomtrends sandbox
thread to die - the LLM started a dev server, the shell never exited,
and the entire session hung with no way to recover.

Two safeguards:
- Default 120s timeout when LLM does not specify one
- 30s no-output timeout that kills processes that go silent

Both are configurable via BashToolOptions and can be disabled by
setting to 0. The LLM can still pass explicit higher timeouts for
long builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 19:28:50 -08:00
..
agent move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00
ai move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00
coding-agent fix: add default timeout and no-output timeout to bash tool 2026-03-07 19:28:50 -08:00
pi-channels move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00
pi-memory-md move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00
pi-teams move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00
tui move pi-mono into companion-cloud as apps/companion-os 2026-03-07 09:22:50 -08:00