// Modified in the independent hardening fork; see docs/hardening/README.md. // Modified for AgentDeskFixes: forward customer conversation identity and pending-send state. "use client" import { SharedMessageEditor, type UploadedMessageEditorImage, } from "@/components/chat/shared-message-editor" type CustomerMessageEditorProps = { conversationId?: number | null draftScope?: string sending?: boolean disabled?: boolean uploadingAsset?: boolean onSend: (html: string) => Promise onUploadImage: (file: File) => Promise onSendAttachment: (file: File) => Promise } export function CustomerMessageEditor({ conversationId, draftScope, sending = false, disabled = false, uploadingAsset = false, onSend, onUploadImage, onSendAttachment, }: CustomerMessageEditorProps) { return ( ) }