From c45ea27de50308194dcd2b64a1306a3a8b924417 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Fri, 16 Jan 2026 19:49:33 +0300 Subject: [PATCH] feat(coding-agent): display timeout in bash tool UI (#780) --- .../src/modes/interactive/components/tool-execution.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/coding-agent/src/modes/interactive/components/tool-execution.ts b/packages/coding-agent/src/modes/interactive/components/tool-execution.ts index cdb6ef59..cacd459f 100644 --- a/packages/coding-agent/src/modes/interactive/components/tool-execution.ts +++ b/packages/coding-agent/src/modes/interactive/components/tool-execution.ts @@ -341,10 +341,16 @@ export class ToolExecutionComponent extends Container { */ private renderBashContent(): void { const command = this.args?.command || ""; + const timeout = this.args?.timeout as number | undefined; // Header + const timeoutSuffix = timeout ? theme.fg("muted", ` (timeout ${timeout}s)`) : ""; this.contentBox.addChild( - new Text(theme.fg("toolTitle", theme.bold(`$ ${command || theme.fg("toolOutput", "...")}`)), 0, 0), + new Text( + theme.fg("toolTitle", theme.bold(`$ ${command || theme.fg("toolOutput", "...")}`)) + timeoutSuffix, + 0, + 0, + ), ); if (this.result) {