From 2a6ef5287b9ff7d09dd79d6de1e2dbf24f885a7c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 17 May 2026 13:42:17 +0100 Subject: [PATCH] fix: align agent presentation button type --- src/agents/runtime-plan/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/agents/runtime-plan/types.ts b/src/agents/runtime-plan/types.ts index ad14ecae5e4..ab4f1add58c 100644 --- a/src/agents/runtime-plan/types.ts +++ b/src/agents/runtime-plan/types.ts @@ -90,6 +90,12 @@ export type AgentRuntimeMessagePresentationButton = { value?: string; /** External URL opened by the button. */ url?: string; + /** Channel-native web app URL for renderers that support embedded web apps. */ + webApp?: { url: string }; + /** Higher values are kept first when channel action limits require dropping controls. */ + priority?: number; + /** Disabled action hint; channels without disabled-state support render fallback text. */ + disabled?: boolean; /** Optional visual style hint for renderers that support styled actions. */ style?: AgentRuntimeInteractiveButtonStyle; };