| 101 | } |
| 102 | |
| 103 | export interface ChatSession { |
| 104 | messages: ChatMessage[] |
| 105 | topics: Topic[] // 独立存储的 Topic 列表 |
| 106 | |
| 107 | leafMessageId?: string // 当前选择的消息路径(叶子节点) |
| 108 | selectedMessageId?: string // 当前选中的消息ID(用于滚动定位) |
| 109 | } |
| 110 | |
| 111 | // ==================== Topic 分组类型定义(运行时计算) ==================== |
| 112 |
nothing calls this directly
no outgoing calls
no test coverage detected