Repository navigation
Multi-Agent Studio v1.7.5.8.2
Multi-Agent Studio v1.7.5.8.2
中文
会话历史渲染修复 · 导出 md / HTML 按钮恢复
修复(Fixed)
- 跑完一轮的会话重进仍是「流式输出界面」(ID100):本轮结束后前端只用流式 DOM 展示回复,从不重新拉取
/history;离开会话时又把这整页 DOM 当成历史基线缓存,再次进入时直接还原流式外观——没有 Checkpoint 信息块、思考/工具块样式也与历史界面不同。现在每轮done之后都会用/history做一次权威渲染,回复完成后即进入消息历史界面。 - 助手回复下方没有「🖨 转换 HTML」「📄 导出 md 文件」按钮(ID100):导出按钮只挂在历史渲染的回复块上(该块带
data-md-b64原文),流式回复块永远不会带;切回历史渲染后按钮随之恢复,md 与 HTML 都能正常导出。 - 按钮在、点了却没反应(ID100):从 DOM 快照还原的按钮会丢失点击事件。现在每次渲染都会重建按钮行,快照恢复的按钮同样可点。
- 重进会话后最新一轮回复消失(ID100):清理静态基线时同时清空旧的基线 Markdown,避免它覆盖刚拉取的完整历史。
改进(Improved)
- 切回历史渲染时保持阅读位置(ID100):原来贴着底部就继续跟到底,否则停在原处,不再被拉回顶部。
本次只改前端静态资源,无需重启程序:刷新界面(F5)后生效。已打开的会话重新进入即是历史界面。
English
History rendering fix · Export MD / HTML buttons restored
Fixed
- A finished conversation reopened in "streaming" style (ID100): after a run the frontend only showed the live-stream DOM and never re-fetched
/history; leaving the conversation then cached that whole page as the static baseline, so the next visit restored the streaming look — no Checkpoint block, and reasoning/tool sections styled differently from history. Eachdonenow triggers an authoritative/historyrender, so a finished run lands on the message-history view. - No "Export HTML" / "Export MD" buttons under assistant replies (ID100): those buttons are only attached to history-rendered reply blocks (the ones carrying the
data-md-b64source), which streaming blocks never have. They are back once the view switches to history rendering, and both MD and HTML export work again. - Button visible but unresponsive (ID100): buttons restored from a DOM snapshot lose their click handlers. The button row is now rebuilt on every render, so snapshot-restored buttons work as well.
- Latest reply disappeared after reopening a conversation (ID100): clearing the static baseline now also clears the old baseline Markdown, so it can no longer overwrite the freshly fetched history.
Improved
- Reading position preserved when switching to history rendering (ID100): stay pinned to the bottom if you were already there, otherwise keep your place instead of jumping back to the top.
Frontend-only change; no program restart needed. Refresh the window (F5) and reopened conversations will show the history view.