fix: align agent presentation button type · openclaw/openclaw@2a6ef52
steipete
·
2026-05-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -90,6 +90,12 @@ export type AgentRuntimeMessagePresentationButton = {
|
90 | 90 | value?: string; |
91 | 91 | /** External URL opened by the button. */ |
92 | 92 | url?: string; |
| 93 | +/** Channel-native web app URL for renderers that support embedded web apps. */ |
| 94 | +webApp?: { url: string }; |
| 95 | +/** Higher values are kept first when channel action limits require dropping controls. */ |
| 96 | +priority?: number; |
| 97 | +/** Disabled action hint; channels without disabled-state support render fallback text. */ |
| 98 | +disabled?: boolean; |
93 | 99 | /** Optional visual style hint for renderers that support styled actions. */ |
94 | 100 | style?: AgentRuntimeInteractiveButtonStyle; |
95 | 101 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。