// 消息段类型定义 - 客户端版本(对齐 core Segment SSOT) export interface MessageSegment { /** record:如 ICQQ 语音等,展示时按音频处理;thinking/tool_call 仅 agent 面板展示 */ type: 'text' | 'mention' | 'at' | 'image' | 'face' | 'video' | 'audio' | 'record' | 'file' | 'reply' | 'forward' | 'keyboard' | 'action' | 'thinking' | 'tool_call' | string data: Record platform?: Record } // 发送内容类型 export type SendContent = MessageSegment | MessageSegment[] | string