Repository navigation
Multi-Agent Studio v1.7.7.1
中文
新增
- 「将本地PDF转换为md」按钮:会话页顶栏新增该按钮,位于「将本地md转换为HTML」左侧。点击后弹出系统文件选择窗口,选中 PDF 后复用文件工具里同一套 PDF→Markdown 转换(pdfminer 抽正文 + pdfplumber 基于框线抽表格;是否提取表格由「进阶设置 → 📄 PDF 表格提取」实时决定,失败回退 MarkItDown),在该 PDF 同目录下生成同名
.md;若同名.md已存在,则追加时间戳另存(同秒再加序号),绝不覆盖已有文件。主设置 →「🖨 转换 HTML」组新增显示开关「显示转换本地PDF按钮」(默认开启)。普通版与 Lite 版均可使用。 - Lite 版补齐本地文件转换:Lite 版此前没有挂载「将本地md转换为HTML」端点(按钮点了会 404),本轮一并补上;现在 Lite 版的 md / PDF 两个本地转换按钮都可正常使用。
改进
- 快照格式升级到 v3(只存消息、浏览时实时渲染):快照 JSON 现在只保存原始消息(
main_messages/subgraphs[].messages/main_meta)与元数据,不再保存渲染后的 Markdown(main/subgraphs[].markdown)和固化的渲染设置(render_settings)。打开快照时按当前设置用与「浏览普通会话历史」完全相同的渲染函数实时生成,因此聊天图标及称谓、思考/工具默认展开等外观始终跟随当前设置;快照文件明显变小、读取更快。 - 快照内编辑更轻:编辑只替换快照 JSON 里的那条消息,不再重渲染 Markdown、不再写回渲染设置;下次打开时按当前设置自动渲染。
- 旧快照兼容:v1(只有渲染结果)仍按原样显示;v2(已保存消息)打开时也按当前设置实时渲染;在快照内编辑后记录会自动升级为 v3。不做任何数据迁移。
注意
- 本轮改变的是快照的「视图来源」:消息内容与时间 / Source / Step / Thread / Checkpoint ID 不变,仅展开状态与图标称谓等视图偏好跟随当前设置。
- 升级方式不变:覆盖文件后务必重跑
setup.bat重新生成MultiAgentStudio.exe,不要沿用旧 exe。 - 本次不涉及配置或数据库结构迁移。
English
Added
- "Convert local PDF to md" button: a new button in the chat header, placed to the left of "Convert local md to HTML". Clicking it opens the native file picker; after you select a PDF it reuses the exact same PDF→Markdown converter as the file tools (pdfminer for body text + pdfplumber for ruled-line tables; whether tables are extracted is decided live by "Advanced settings → 📄 PDF table extraction", with a MarkItDown fallback) and writes a same-name
.mdnext to the PDF. If a.mdwith that name already exists, a timestamped copy is created instead (with a sequence suffix for same-second collisions) — existing files are never overwritten. Main settings → "🖨 Export HTML" group gains a new display switch, "Show the Convert local PDF button" (on by default). Available in both the standard and Lite editions. - Lite edition local-file conversion fixed: Lite previously did not mount the "Convert local md to HTML" endpoint (the button returned 404); it is now mounted as well, so both local conversion buttons work in Lite.
Improved
- Snapshot format v3 (messages only, rendered on read): snapshot JSON now stores only the original messages (
main_messages/subgraphs[].messages/main_meta) plus metadata — no rendered Markdown (main/subgraphs[].markdown) and no frozen render settings (render_settings). Opening a snapshot renders it live with the current settings through the same renderer used for normal chat history, so chat identity labels/icons and reasoning/tool expand state always follow the current settings; snapshot files are noticeably smaller and faster to load. - Lighter in-snapshot editing: editing only replaces that one message in the snapshot JSON — no Markdown re-render and no writing render settings back; the next open renders it with the current settings.
- Old snapshot compatibility: v1 snapshots (rendered result only) still display exactly as before; v2 snapshots (which already have messages) are now rendered live as well; editing a v2 snapshot upgrades the record to v3 automatically. No data migration is performed.
Notes
- What changed is where a snapshot's view comes from: message content, timestamps, Source / Step / Thread / Checkpoint ID are unchanged; only view preferences such as expand state and identity labels follow the current settings.
- Upgrading is unchanged: after copying the files, re-run
setup.batto rebuildMultiAgentStudio.exerather than reusing the old exe. - No config or database-schema migration in this release.