From f7e95ca0ffc577e2687fceb46e87c5b8d7dbd4b6 Mon Sep 17 00:00:00 2001 From: Tyler Yust Date: Thu, 12 Mar 2026 18:03:12 -0700 Subject: [PATCH] Gateway: add timeout session status --- src/agents/tools/sessions-helpers.ts | 2 +- src/gateway/session-utils.types.ts | 2 +- ui/src/ui/types.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/agents/tools/sessions-helpers.ts b/src/agents/tools/sessions-helpers.ts index 13bd8d2b169..d3ef713ef75 100644 --- a/src/agents/tools/sessions-helpers.ts +++ b/src/agents/tools/sessions-helpers.ts @@ -44,7 +44,7 @@ export type SessionListDeliveryContext = { accountId?: string; }; -export type SessionRunStatus = "running" | "done" | "failed" | "killed"; +export type SessionRunStatus = "running" | "done" | "failed" | "killed" | "timeout"; export type SessionListRow = { key: string; diff --git a/src/gateway/session-utils.types.ts b/src/gateway/session-utils.types.ts index 3a92a94bd7b..8016f54bee7 100644 --- a/src/gateway/session-utils.types.ts +++ b/src/gateway/session-utils.types.ts @@ -13,7 +13,7 @@ export type GatewaySessionsDefaults = { contextTokens: number | null; }; -export type SessionRunStatus = "running" | "done" | "failed" | "killed"; +export type SessionRunStatus = "running" | "done" | "failed" | "killed" | "timeout"; export type GatewaySessionRow = { key: string; diff --git a/ui/src/ui/types.ts b/ui/src/ui/types.ts index a7b1e42b165..b240c38c12f 100644 --- a/ui/src/ui/types.ts +++ b/ui/src/ui/types.ts @@ -364,7 +364,7 @@ export type AgentsFilesSetResult = { file: AgentFileEntry; }; -export type SessionRunStatus = "running" | "done" | "failed" | "killed"; +export type SessionRunStatus = "running" | "done" | "failed" | "killed" | "timeout"; export type GatewaySessionRow = { key: string;