activeConversationId
activeConversationId: string | null
addMessage
addMessage: ( message: Omit<AgentAssistantMessage, "id" | "timestamp"> & { timestamp?: Date; },) => string clearActiveConversation
clearActiveConversation: () => void
clearAllConversations
clearAllConversations: () => void
clearPendingAction
clearPendingAction: () => void
createConversation
createConversation: () => string
deleteConversation
deleteConversation: (id: string) => void
deleteMessage
deleteMessage: (messageId: string) => void
ensureActiveConversation
ensureActiveConversation: () => string
renameConversation
renameConversation: (id: string, title: string) => void
switchConversation
switchConversation: (id: string) => void
updateMessageFormState: (
messageId: string,
formState: Partial<
| {
status: "cancelled"
| "pending"
| "submitting"
| "submitted";
submittedAt?: string;
values?: Record<string, unknown>;
}
| undefined,
>,
) => void
updateMessageResult
updateMessageResult: (
messageId: string,
newResult: Record<string, unknown>,
) => void
updatePendingAction
updatePendingAction: (pendingAction: Record<string, unknown> | null) => void
Return type for useAgentConversations hook