From 352b77ea07481bf967a0582385192c30687334fb Mon Sep 17 00:00:00 2001 From: Carlos Escalante Date: Tue, 14 Jul 2026 21:52:50 -0600 Subject: [PATCH] Regenerate API types for MAF upgrade --- frontend/src/lib/api-types.gen.ts | 57 ++++++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/frontend/src/lib/api-types.gen.ts b/frontend/src/lib/api-types.gen.ts index 8b16a25..a27a6d4 100644 --- a/frontend/src/lib/api-types.gen.ts +++ b/frontend/src/lib/api-types.gen.ts @@ -915,11 +915,9 @@ export interface components { AGUIRequest: { /** * Availableinterrupts - * @description List of interrupts that can be resumed by the server + * @description Canonical AG-UI interrupts that can be resumed by the server */ - availableInterrupts?: { - [key: string]: unknown; - }[] | null; + availableInterrupts?: components["schemas"]["Interrupt"][] | null; /** * Context * @description List of context objects provided to the agent @@ -948,11 +946,9 @@ export interface components { parent_run_id?: string | null; /** * Resume - * @description Resume payload containing interrupt responses + * @description Resume payload for continuing interrupted runs */ - resume?: { - [key: string]: unknown; - } | null; + resume?: components["schemas"]["ResumeEntry"][] | null; /** * Run Id * @description Optional run identifier for tracking @@ -1373,6 +1369,34 @@ export interface components { /** Num Installments */ num_installments?: number | null; }; + /** + * Interrupt + * @description A pause carried inside ``RunFinishedEvent.outcome`` when the outcome is + * ``RunFinishedInterruptOutcome``. The client resumes + * by addressing this interrupt in the resume array of the next RunAgentInput. + */ + Interrupt: { + /** Expiresat */ + expiresAt?: string | null; + /** Id */ + id: string; + /** Message */ + message?: string | null; + /** Metadata */ + metadata?: { + [key: string]: unknown; + } | null; + /** Reason */ + reason: string; + /** Responseschema */ + responseSchema?: { + [key: string]: unknown; + } | null; + /** Toolcallid */ + toolCallId?: string | null; + } & { + [key: string]: unknown; + }; /** LoginRequest */ LoginRequest: { /** Password */ @@ -1831,6 +1855,23 @@ export interface components { [key: string]: unknown; } | null; }; + /** + * ResumeEntry + * @description A per-interrupt response in the resume array of a RunAgentInput. + */ + ResumeEntry: { + /** Interruptid */ + interruptId: string; + /** Payload */ + payload?: unknown | null; + /** + * Status + * @enum {string} + */ + status: "resolved" | "cancelled"; + } & { + [key: string]: unknown; + }; /** SalariosSummary */ SalariosSummary: { /** Count */