admin
|
f91c26451b
|
fix(plot): bound adaptive sampling and preserve curve discontinuities
|
2026-09-07 00:43:34 +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 |
|
admin
|
510936431a
|
Revert "feat(multimodal): 补齐阶段F运行管理与收尾验收"
This reverts commit 64f63ff1bd.
|
2026-09-05 02:02:26 +08:00 |
|
admin
|
f697364aaf
|
Revert "fix(settings): 补齐CUDA运行组件下载与安装入口"
This reverts commit c912409343.
|
2026-09-05 02:02:26 +08:00 |
|
admin
|
c912409343
|
fix(settings): 补齐CUDA运行组件下载与安装入口
|
2026-09-05 01:25:43 +08:00 |
|
admin
|
64f63ff1bd
|
feat(multimodal): 补齐阶段F运行管理与收尾验收
|
2026-09-05 01:06:29 +08:00 |
|
admin
|
78dd774bce
|
fix(retrieval): 按索引策略重建并融合跨空间检索
|
2026-09-04 19:48:41 +08:00 |
|
admin
|
468eb56daa
|
fix(embedding): 传递本地索引限制并冻结推理配置
|
2026-09-04 19:33:57 +08:00 |
|
admin
|
8d092533f6
|
feat(multimodal): 实现本地模型管线与请求用量配置
|
2026-09-04 12:39:43 +08:00 |
|
yxx
|
7eae7fba00
|
Merge remote-tracking branch 'origin/main' into feat/export-service
|
2026-09-04 10:59:52 +08:00 |
|
yxx
|
5c2441464d
|
feat(export): 交付 Markdown → HTML 导出服务
实现 Export Service 完整生命周期:mistune AST → Document AST → HtmlExporter 渲染完整 HTML5,异步任务注册表 + 取消 + 24h 产物过期。新增 5 个 /api/exports 端点与 15 项测试;pdf/docx 与函数图像静态渲染留待后续 PR。
|
2026-09-04 09:02:33 +08:00 |
|
admin
|
8480ed7f5e
|
fix(chat): 阻止页面卸载后的异步初始化修改模型选择
|
2026-09-04 08:30:45 +08:00 |
|
admin
|
150cf0d994
|
fix(chat): 保留页面切换后的提供商与模型选择
|
2026-09-04 08:24:49 +08:00 |
|
admin
|
9f621371b8
|
fix(frontend): 汉化MCP工具展示并折叠原始说明
|
2026-09-04 07:52:53 +08:00 |
|
admin
|
c04f4c1989
|
fix(frontend): 移除运行时演示数据并接入真实后端状态
|
2026-09-04 07:47:05 +08:00 |
|
admin
|
a75d81a7d9
|
fix(benchmark): 记录实际Embedding空间与逐样本回退信息
|
2026-09-04 07:25:12 +08:00 |
|
admin
|
5dd5a46aae
|
fix(provider): 修复索引事务回滚与工具名分片并同步主分支
|
2026-09-04 07:15:52 +08:00 |
|
admin
|
1fe75e3fd2
|
feat(provider): 完成阶段E协议适配、国内预设与模型路由
|
2026-09-04 06:19:32 +08:00 |
|
yxx
|
ae65c64c8f
|
Merge remote-tracking branch 'origin/main' into feat/knowledge-retrieval-core
# Conflicts:
# README.md
# backend/app/routes.py
# docs/architecture/AI笔记软件技术栈说明-团队版-v2.3.md
# docs/development/Knowledge与Retrieval-Core开发说明.md
|
2026-09-03 23:45:52 +08:00 |
|
admin
|
9b8b10cdb1
|
fix(mcp): 修复配置导入、凭据管理与协议边界
修复生命周期锁阻塞事件循环、旧连接回调误停新连接及超时契约不一致。
补齐 MCP JSON 兼容导入、密钥拆分与失败重试,修复 Header 大小写草稿丢失,迁移大小写敏感的环境变量凭据。
在 SSE 行拼接前限制缓冲大小,增加并发、迁移和流式输入回归测试;忽略本机 MCP 数据及 server.json/servers.json。
验证:后端 185 项、前端 54 项测试通过,前端生产构建、相关文件 Ruff 与暂存差异检查通过。
|
2026-09-03 22:38:35 +08:00 |
|
 yxxandClaude Code
|
3898530585
|
docs: 补齐 PR #11 评审要求的文档同步
- 技术栈说明实施状态:RAG Benchmark 标记为已完成、Agent Benchmark 暂缓
- 新增 Benchmark 开发说明,并登记到文档索引
- README 回归基线更新为后端 157 / 前端 29
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-03 22:35:45 +08:00 |
|
 yxxandClaude Code
|
fcc601fcf3
|
fix(backend): 落实 PR #11 第二轮评审意见
- Benchmark 容量淘汰只删终态 run,满容量且全活动时返回 BENCHMARK_CAPACITY_EXCEEDED
- 创建 run 前校验索引兼容性(BENCHMARK_INDEX_INCOMPATIBLE)
- 取消 run 补发 RunCancelled 终止事件;失败分支脱敏(BENCHMARK_RUN_FAILED)
- 失败样本计入汇总分母,报告输出 total/successful/failed/failure_rate
- load_dataset 按文件名隔离无关损坏文件,顶层非对象拒绝
- FTS score_threshold 先于计数/分页,total 与 items 一致
- Benchmark SSE 支持 Last-Event-ID 游标
- 移除 Agent Benchmark 501 占位接口
- 同步第二阶段接口契约与开发说明文档
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2026-09-03 22:20:11 +08:00 |
|