Chat · Components
AssistantApprovalCard
No summary has been written for AssistantApprovalCard. Everything below is generated from the declaration shipped in 0.62.10 and describes the real contract.Public export
typescript
import { AssistantApprovalCard } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
approvalAssistantApprovalRequestNoThe pending request this card asks the owner to approve or deny.threadIdstringNoConversation the request belongs to, sent with the decision.toolPresentation'generic'NoShow a plain summary in place of the tool's own name and arguments.transportAssistantTransportNoConnection used to send the owner's decision to the assistant.presentation{ id: string; summary: string; statusLabel: string; badgeClass: string; headingSize?: string; pending: boolean; busy?: boolean; busyLabel?: string; message?: string; ondecide?: (approve: boolean) => void; }NoHost-authorized presentation for an existing decision endpoint and persisted view.detailSnippetNoExtra content shown under the summary, such as what will change.ondecided() => void | Promise<void>NoCalled after the decision has been accepted, to refresh the surrounding view.Bindable state
This component has no bindable public state.
Callback events
ondecided() => void | Promise<void>