bench: simplify shell tool description

Signed-off-by: Salman Mohammed <smohammed@squareup.com>
This commit is contained in:
Salman Mohammed
2026-08-18 19:08:32 -04:00
parent f5f604dc4a
commit baab990bd9

View File

@@ -39,7 +39,7 @@ impl DevMcp {
#[tool(
name = "shell",
description = "Run a shell command (bash by default; set `BUZZ_SHELL` to use cmd, PowerShell, or another shell). Ephemeral process per call. Output tail-truncated to ~8KB for the LLM; full output (first 10MB) saved to artifact file. timeout_ms defaults to 120000 (2 min) if omitted; capped at 600000 (10 min). For long-running commands (git push with hooks, cargo build, test suites), use 300000+. On PATH: rg (prefer over grep; flags: -n -i -l -g <glob> -C <n> --files), tree (flags: -d <depth>; shows line counts), and buzz (Buzz relay CLI — run buzz --help for commands)."
description = "Run a command in the configured shell (bash by default; `BUZZ_SHELL` can select another). Each call starts a new process. Output is tail-truncated for the model and the full captured output is saved as an artifact. `timeout_ms` defaults to 120000 and is capped at 600000. Use a longer timeout for builds, tests, and pushes."
)]
async fn shell(
&self,