export interface AgentRequest { requestId: string; skill: string; chatroomId: string; userId: string; nickname: string; trigger: string; userMessage?: string | undefined; context?: Record | undefined; } export interface AgentResponse { requestId: string; text: string; confidence: number; source: "llm" | "template"; metadata?: Record | undefined; } export interface ConversationMessage { role: "user" | "assistant"; content: string; timestamp: string; }