Commit Graph
88 Commits
Author SHA1 Message Date
admin 1399b54780 fix(desktop): 显示完整菜单栏并启用快捷键 2026-09-07 19:55:38 +08:00
admin a189b89942 fix(desktop): 补齐顶部段落菜单与浮动按钮布局 2026-09-07 19:25:06 +08:00
admin a64c2cd057 feat(desktop): 持久化最近 Vault 授权 2026-09-07 17:55:42 +08:00
admin 4288f90558 feat(desktop): 接通无边框窗口标题栏控制 2026-09-07 17:48:51 +08:00
admin a63398d89c docs(phase3): 记录系统 Rust 工具链验证 2026-09-07 17:36:09 +08:00
admin 941f51d457 ci(build): 增加第三阶段全量门禁与验收记录 2026-09-07 16:57:36 +08:00
admin 7fffbcd55a feat(sync): 实现设备认证与对象版本协议原型 2026-09-07 15:45:37 +08:00
admin ca5b52bc8a fix(export): handle metadata-only notes and HTML image resources 2026-09-07 14:45:47 +08:00
admin 894f220239 fix(export): render themed note metadata in PDF snapshots 2026-09-07 14:40:56 +08:00
admin d1cbc10fc4 fix: print PDF from actual editor theme CSS and shared Markdown rendering 2026-09-07 14:33:19 +08:00
admin 9f097ea629 fix: preserve exports on close and support themed PDF without export quotas 2026-09-07 14:04:03 +08:00
admin 47c53b6f38 fix: address phase two review and theme benchmark page 2026-09-07 13:26:14 +08:00
admin e667dd55dd Record phase two acceptance evidence and synchronize delivery status 2026-09-07 02:55:19 +08:00
admin cc652508ef fix(export): preserve themed callouts and nested table layouts 2026-09-07 01:33:13 +08:00
admin c853add07e merge: integrate main and reconcile export dependencies 2026-09-07 00:46:11 +08:00
admin f91c26451b fix(plot): bound adaptive sampling and preserve curve discontinuities 2026-09-07 00:43:34 +08:00
admin ac2d36bf9c fix(chat): preserve retry attachments and per-answer context snapshots 2026-09-07 00:09:14 +08:00
admin 11e5785681 docs: record successful stress test branch push 2026-09-06 23:25:34 +08:00
admin 266608b6e8 test: verify live chat agent MCP and task load flows 2026-09-06 23:25:17 +08:00
admin cec8daac93 feat(chat): add workspace chat, attachments and agent delegation 2026-09-06 23:17:35 +08:00
admin 637ddbb9bf feat: improve chat retrieval, message versions and Markdown rendering 2026-09-06 21:39:40 +08:00
yxxandClaude Code f1ac414866 feat(export): PDF 内嵌函数图像矢量图
- 抽取 render.py 共享几何:新增 PlotGeometry + compute_geometry,render_svg
  改为薄序列化层,SVG 输出与重构前逐字节一致(8 组用例回归验证)
- 新增 app/plot/render_reportlab.py:消费共享几何产出 reportlab 矢量 Drawing
  (网格/坐标轴 Line、曲线 PolyLine、刻度/标签 String、ylabel Group 旋转),
  复用 STSong-Light 渲染中文,按页面内容宽 renderScale 缩放
- pdf.py _block_function_plot 改为内嵌矢量图(解析/渲染失败或超预算回退占位,
  单图失败不阻断整篇);mermaid 仍占位
- 抽取 FunctionPlotBudget + format_plot_diagnostic 到 _common.py,html/pdf 共用
- 文档同步:PDF 已内嵌函数图像,DOCX 仍占位(栅格化范围外)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-06 21:26:54 +08:00
yxx 6c14047899 Merge remote-tracking branch 'origin/main' into feat/export-service 2026-09-06 17:48:25 +08:00
yxxandClaude Code 780e24a399 fix(export): 修复引用块正文丢失、嵌套列表顺序与排队取消
- 引用块直接子节点为块级节点,PDF/DOCX 改为逐个渲染并继承缩进/颜色,
  不再交给行内渲染器导致正文丢失
- PDF 嵌套列表先输出父级正文再输出子列表,修复顺序颠倒
- 等待渲染槽位期间保持 queued 并监听取消,取消即时生效
- DOCX 列表项补处理直接 text 子节点,避免正文被块级渲染器丢弃
- 补充引用块/嵌套列表/排队取消的结构内容回归测试
- 接口契约同步 html/pdf/docx 三格式均已实现,移除 EXPORT_FORMAT_UNSUPPORTED

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-06 17:48:18 +08:00
yxx dffafce8b9 Merge remote-tracking branch 'origin/main' into feat/export-service
# Conflicts:
#	.gitignore
#	backend/app/main.py
2026-09-06 17:22:57 +08:00
admin f0fe8f2629 feat(editor): add scroll navigation and update theme Markdown behavior 2026-09-06 17:15:41 +08:00
yxxandClaude Code 406dd42571 feat(export): 新增 PDF/DOCX 导出与 StaticRenderer 内部契约
- 新增 PdfExporter(reportlab)与 DocxExporter(python-docx),实现与
  HtmlExporter 一致的同步 render + 异步 export,v1 文本优先(标题/段落/
  行内强调与链接/列表/引用/表格/代码块/数学文本),function_plot 与 mermaid
  保留源码占位并记 warning。
- service 层加 _EXPORTERS 注册表按格式分发,删除 format!=html 硬限制,
  扩展名/MIME/产物清理泛化到 html/pdf/docx 三种格式。
- 新增 app/plot/renderer.py:StaticRenderRequest + StaticRenderer Protocol +
  FunctionPlotStaticRenderer + MermaidStaticRenderer;HtmlExporter 改经
  FunctionPlotStaticRenderer 消费,去除对 render_svg 的直接依赖。
- 补齐 PDF/DOCX 魔法字节、CJK 字体、占位 warning 与 StaticRenderer 契约测试。
- 更新 Export开发说明.md。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-06 17:04:58 +08:00
admin f32971d32e fix: coordinate vector migration with concurrent searches and note saves 2026-09-06 16:57:37 +08:00
admin b03b168920 perf: persist model-isolated sqlite-vec indexes and index new notes incrementally 2026-09-06 16:34:26 +08:00
admin 3b9490e3fb fix: stabilize background operations and large embedding results 2026-09-06 16:26:17 +08:00
yxx 966a94cad8 Merge remote-tracking branch 'origin/main' into feat/export-service
# Conflicts:
#	backend/app/routes.py
2026-09-06 16:19:37 +08:00
admin 874e916106 perf(editor): reduce long-document decoration work and fix fold navigation 2026-09-06 14:30:56 +08:00
yxxandClaude Code c9c5f81d49 fix(export): 增加文档级组合复杂度预算与并发渲染限制
针对 PR 审阅 P1「组合复杂度仍可长时间占满导出线程」与 P3「EXPORT_OUTPUT_TOO_LARGE 误标 HTTP 413」:

- plot: FunctionPlot 记录整块 AST 节点数(node_count),parser 累计
- html: 单篇文档累计节点预算 _MAX_TOTAL_PLOT_NODES=8000,超限回退占位
- service: 并发渲染信号量 MAX_CONCURRENT_RENDERS=2,超限额任务排队等待
- docs: 错误码区分同步 HTTP 错误与异步任务错误,EXPORT_OUTPUT_TOO_LARGE 由
  error_code 返回而非 HTTP 413
- 补充节点预算与并发限制两条回归测试(全量 627 通过)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-06 14:01:29 +08:00
admin 750e17212e fix(editor): recover missing files and synchronize section toggle 2026-09-06 13:29:19 +08:00
admin 8ad1db33f7 feat(editor): add markdown presets, heading folding and external file refresh 2026-09-06 12:57:09 +08:00
admin 415efc4444 feat(editor): add themed callouts and desktop command boundary 2026-09-06 11:33:19 +08:00
admin fcc319d5e1 perf(frontend): defer mermaid and split editor dependencies 2026-09-06 10:42:12 +08:00
admin 64af068df4 docs: document background indexing and merged phase two behavior 2026-09-06 03:06:40 +08:00
admin 7001794a22 fix(phase2): restore agent streams and persist extension installations 2026-09-06 02:21:27 +08:00
admin af2556d29e fix(ui): unify dialogs and complete theme component coverage 2026-09-05 23:56:02 +08:00
yxxandClaude Code 124024a547 fix(export): 为函数图像与导出产物增加资源上限
针对 PR 审阅「函数数量没有限制,可能生成数百 MB 的 SVG」:

- parser: 单块 function-plot 表达式上限 _MAX_EXPRESSIONS=16,超限整块回退
- html: 单篇文档函数图像上限 _MAX_FUNCTION_PLOTS=16,超出回退源码占位
- service: 输入源 MAX_MARKDOWN_CHARS、产物 MAX_EXPORT_BYTES,超限分别
  拒绝创建或标记 failed(EXPORT_OUTPUT_TOO_LARGE)
- 补充 4 条回归测试与文档说明

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-05 23:31:53 +08:00
admin 6107b7ff1b fix(editor): handle paired inline code input and complete markdown rendering 2026-09-05 23:14:19 +08:00
admin a1ab1024f0 feat: 添加全局人设与头像设置并优化对话及弹窗交互 2026-09-05 22:26:12 +08:00
admin 7551716e13 feat: 添加模型上下文管理并统一主题组件与用量交互 2026-09-05 21:58:37 +08:00
yxxandClaude Code 50d7fb4c7d Merge origin/main into feat/export-service
同步 main(054f704),解决 contracts.py / main.py / README.md / 技术栈说明 的合并冲突。
- contracts.py:保留 pydantic 多行导入并新增 RequestOverride
- main.py:合并 lifespan(导出孤儿清理 + 转写/本地模型生命周期)
- README.md / 技术栈说明:文档取 main 最新版本

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-05 21:44:20 +08:00
admin 8d626ee16b feat: 完善模型用量趋势与全局手账卡片并补齐阶段验收 2026-09-05 20:40:36 +08:00
admin 6d0c1400ce fix(frontend): 保留密钥编辑并隔离社区主题预览 2026-09-05 17:46:12 +08:00
admin 0f08cd051b fix(frontend): 同步 main 并修复 phase2 关闭审阅意见 2026-09-05 17:32:34 +08:00
admin cb1c6dfcf5 fix(multimodal): 冻结推理环境并隔离迟到导入错误 2026-09-05 02:09:15 +08:00
admin 6ee6cd7d73 feat(multimodal): 完成阶段F运行管理与收尾验收 2026-09-05 02:02:45 +08:00