// Offline YCode state samples only; these do not establish original-app parity. const now = Date.now() const history = Array.from({ length: 14 }, (_, index) => { const createdAt = now + index * 2 const text = Array.from({ length: 4 }, (__, paragraph) => `历史消息 ${index + 1},段落 ${paragraph + 1}。用于让会话时间线形成可滚动的真实内容。`.repeat(3) ).join('\n\n') return [ { id: `history-user-${index}`, role: 'user', content: `历史请求 ${index + 1}`, status: 'done', createdAt }, { id: `history-assistant-${index}`, role: 'assistant', content: text, status: 'done', createdAt: createdAt + 1 } ] }).flat() export const conversationStatesFixture = { sessions: [{ id: 'conversation-states', title: '对话状态回归', createdAt: now, updatedAt: now }], messages: { 'conversation-states': history } } export const conversationStatesBridge = ``