From f27fc0083a84cd45be2b15b7fdab1dd78f628e37 Mon Sep 17 00:00:00 2001 From: Hadas Hirt Date: Mon, 27 Apr 2026 13:41:34 +0300 Subject: [PATCH] Add waiting_for_user_input to AgentMessageToolCall status union The backend ToolCall model includes "waiting_for_user_input" as a valid status value, but the SDK type was missing it. Co-Authored-By: Claude Sonnet 4.6 --- src/modules/agents.types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/agents.types.ts b/src/modules/agents.types.ts index cc1cf4d3..49918c0c 100644 --- a/src/modules/agents.types.ts +++ b/src/modules/agents.types.ts @@ -48,7 +48,7 @@ export interface AgentMessageToolCall { /** Arguments passed to the tool as JSON string. */ arguments_string: string; /** Status of the tool call. */ - status: "running" | "success" | "error" | "stopped"; + status: "running" | "success" | "error" | "stopped" | "waiting_for_user_input"; /** Results from the tool call. */ results?: string; }