fix: align agent presentation button type

This commit is contained in:
Peter Steinberger
2026-05-17 13:42:17 +01:00
parent a4210dbaee
commit 2a6ef5287b

View File

@@ -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;
};