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;