docs: bash_run timeout now fully optional, no default

PR #1223 removed the default 180s timeout. timeout_secs is now fully
optional: pass a value for a deadline, or omit for no timeout (natural exit).
This commit is contained in:
lexis 2026-06-03 22:40:56 +02:00
commit 1698372572

View file

@ -378,9 +378,11 @@ it as a stdio child via `--mcp-config`. The hyperhive socket name is
the command runs asynchronously in a harness-managed tokio task. Stdout
and stderr stream to `harness/bash-tasks/<id>.{out,err}`. When the
task completes (or times out, or the process errors), the harness wakes
the agent with a summary body — handle on a future turn. Default
timeout 180s; pass `timeout_secs` to override. Requires the
`execution` tool group. Exposed as `mcp__bash__run`.
<<<<<<< HEAD
the agent with a summary body — handle on a future turn. Optional
`timeout_secs`: pass a value for a deadline, or omit for no timeout
(runs until natural exit). Requires the `execution` tool group.
Exposed as `mcp__bash__run`.
- `status(id)` — poll the status of a task submitted with
`run`. Returns status (`pending`/`running`/`done`/`timed_out`/
`interrupted`), exit code, run duration, and the last 4 KiB of stdout