import { MessageList } from './MessageList' import { MessageInput } from './MessageInput' import type { ChatMessage, Attachment } from '../../types/protocol' interface ChatContainerProps { messages: ChatMessage[] isLoading: boolean isReadOnly?: boolean channelName?: string onSendMessage: (content: string, attachments: Attachment[]) => void onNavigateToSubAgent?: (taskId: string, description: string) => void onStop?: () => void showThinking?: boolean } export function ChatContainer({ messages, isLoading, isReadOnly = false, channelName, onSendMessage, onNavigateToSubAgent, onStop, showThinking = true, }: ChatContainerProps) { return (