mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 10:34:46 +00:00
fix: align agent presentation button type
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user