// Offline verification only. No model request or product session is created. const now = Date.now() const content = [ '## 对话渲染源码还原验证', '', '行内公式:$E=mc^2$,集合宏:$\\RR$。', '', '$$', '\\int_0^1 x^2\\,dx = \\frac{1}{3}', '$$', '', '带文件和行号的代码:', '', '```ts:12:15:src/components/Message.tsx', 'export function Message({ text }: { text: string }) {', ' return

{text}

', '}', '```', '', '| 检查项 | 行为 |', '| --- | --- |', '| 公式 | KaTeX 渲染 |', '| 代码 | 原文复制、文件行号 |', '| 表格 | 引用原始 Markdown |', '', '- [x] 完成内容保持原顺序', '- [ ] 继续补齐宿主能力', '', 'protocol payload' ].join('\n') export const sourceRecoveryFixture = { sessions: [{ id: 'source-recovery', title: '对话渲染源码还原', createdAt: now, updatedAt: now }], messages: { 'source-recovery': [ { id: 'recovery-user', role: 'user', content: '验证数学公式、代码文件行号和表格引用。', status: 'done', createdAt: now }, { id: 'recovery-assistant', role: 'assistant', content, parts: [{ type: 'text', text: content }], tools: [], status: 'done', createdAt: now } ] } }