董宏凯
f5bf7897b9
feat(frontend): 支持 Roundtable 写文件流式预览与消息流聚合展示
...
功能说明:\n- 为写文件工具链增加流式预览状态模型(in-flight、chunk 归并、已完成)\n- 在消息面板中支持 write_file 流式 artifact 的动态插入/更新与完成态呈现\n- 优化 artifact 详情页的文件名与来源显示,兼容流式生成中文件路径\n- 在 Roundtable 工作流 step2 流程中注入与监听 write_file 事件,支持多阶段消息统一展示\n- 补充单测覆盖:streaming-write-preview、write-file-in-flight、streaming-artifacts 等关键路径
2026-09-02 12:52:33 +08:00
董宏凯
aeb9a55497
feat(agent-chat): 修复智能体会话归属与历史路由恢复:侧边栏按当前agent过滤会话并携带agent上下文跳转,补充旧线程路径回溯到智能体工作区,防止误入通用问答,并完善输入框记忆按钮显隐与侧边栏展开入口,提升体验一致性。
2026-09-01 13:47:31 +08:00
董宏凯
051e66f7d8
feat(chat): 优化聊天页布局与 iframe 工具栏行为
2026-09-01 12:49:03 +08:00
董宏凯
38857c425b
代码提交
2026-09-01 11:09:23 +08:00
fengxiangdebaozi
57b6a89f20
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
...
# Conflicts:
# frontend-web/src/components/workspace/messages/message-group.tsx
# offline-backend-20260512/backend/packages/harness/deerflow/agents/lead_agent/prompt.py
2026-08-31 20:12:05 +08:00
吉鑫升
90e94994f5
Merge remote-tracking branch 'origin/master' into master
2026-08-31 18:06:10 +08:00
吉鑫升
40542db400
feat: add configurable chat display modes
2026-08-31 17:49:48 +08:00
董宏凯
ff80cc110d
fix: 写作管线步骤条改用不涉及检索的文案
...
- 「拆解检索问题」→「梳理写作思路」(已梳理出 N 个论述角度)
- 「检索参考资料」→「整理对话资料」(已整理 1/2 个论述角度的
资料 · 累计 N 条)
- 管线实际只汇总对话已收集的资料再成稿,原文案会让用户误以为
管线在重新检索;测试补标签断言防止回退
2026-08-30 16:21:02 +08:00
董宏凯
4964967295
fix: writing mode first-report allows only the pipeline to write the report
...
- Strip write_file/str_replace/bash from the model binding in the
first-report run: after_model rewrites only fire after a full model
response, so any bound write tool let weak models draft the whole
essay into tool args (write_file content or bash cat>/python
heredocs) for tens of invisible seconds before interception
- Hallucinated hand-writes are still handled: after_model rewrites
bash cat >/python open('w')/tee and leftover write calls to
deep_research_report; wrap_tool_call rejects whatever reaches the
tool layer; post-success writes are dropped, nudged to a 2-3
sentence summary, and patched with a fallback closing message so
the turn never ends silently
- The rewritten pipeline call carries topic = original request
(clarification answers skipped) plus focus = clarification answers,
so the pipeline writes the clarified subject instead of the raw
prompt text; prompts updated to match (tools unavailable, call the
tool directly, do not draft first)
- Frontend write-step interception and streaming preview scoping now
applies only in writing mode; normal mode shows/previews writes
exactly as before
2026-08-30 15:53:43 +08:00
董宏凯 and Cursor
49c01cb72b
fix: writing mode uses chat search then pipeline write only
...
Keep deep_research_report as a write-only deliverable from conversation materials, block post-success rewrite loops with a summary nudge, fill thin/empty pools from model knowledge, and open the sandbox only on real report.md content.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-30 12:41:04 +08:00
董宏凯 and Cursor
9afb9750e5
Merge branch 'master' into master-nj
...
Keep Win7 flowchart SVG labels and bring over Mermaid syntax repair plus HTML chart color downleveling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-30 09:28:52 +08:00
董宏凯 and Cursor
f18994fd38
fix: show generated HTML charts on Win7 Chrome
...
Rewrite oklch/color-mix and space-separated rgb before iframe preview so pie and bar fills are not dropped on Chrome 109.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-30 09:25:09 +08:00
董宏凯 and Cursor
7c15ca6710
fix: show sandbox flowcharts on Win7 Chrome and repair common Mermaid syntax
...
Disable HTML labels so nodes use native SVG text, and rewrite bare edge labels plus invalid class statements before render.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-30 09:05:29 +08:00
董宏凯 and Cursor
b164e70541
fix: unlock send immediately after SSE close
...
Normal Q&A no longer waits on GET /runs before the next message. Probe run status only on 409 or dropped streams.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-30 08:48:53 +08:00
董宏凯
17cf849361
代码提交
2026-08-30 01:25:20 +08:00
董宏凯 and Cursor
832e180c52
fix: 改进流式 write_file 沙箱预览与 Mermaid 旧浏览器兼容
...
同轮次非末尾 write_file 也能自动打开沙箱并跳过 JSON 大文件预览;Mermaid 改用 SVG 标签;agentfx 强制先写 md 再写 json。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-28 16:21:39 +08:00
董宏凯 and Cursor
37517c2778
fix: 嵌套深链改为按路由去 chrome,顶层不再清除共用 embed.session
...
避免全量父页清掉老版内层深链仍依赖的 embed.session;深链问答/会商/大屏绘制由 isHostNestedSurfacePath 控制 chrome,并抽取对话历史 Tab 共享行组件。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-28 13:01:46 +08:00
董宏凯
440b490b0d
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
2026-08-27 16:33:33 +08:00
董宏凯 and Cursor
52b9cbf707
feat: 新增 agentfx 任务深链与研判报告入库流程
...
支持 goPath=agentfx 的 iframe 嵌入问答、内置研判助手种子与报告导入协助卡,并完善深度研究流式报告能力。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-27 16:32:22 +08:00
吉鑫升
11326eeb1c
feat: improve skill uploads and agent runtime stability
2026-08-27 11:14:23 +08:00
董宏凯
38c3de39f0
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
...
# Conflicts:
# AGENTS.md
# frontend-web/src/pages/AgentChatPage.tsx
2026-08-26 16:37:41 +08:00
董宏凯 and Cursor
33639e5b89
fix: 修复嵌套 iframe 污染 embed 会话与协助卡后流式显示异常
...
顶层窗口通过 topOwned 标记自愈老版嵌套页写脏的 embed.session;协助卡提交后避免冻结 checkpoint 覆盖实时 SSE,并仅在服务端回显新 human 消息时清除乐观气泡。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-26 16:28:10 +08:00
吉鑫升
676b00afb6
Merge branch 'ji' into master
2026-08-26 16:07:37 +08:00
吉鑫升
0980eea975
feat: unify formal Word export
2026-08-26 16:02:23 +08:00
吉鑫升
9b904ac3dd
Merge branch 'ji' into master
...
# Conflicts:
# offline-backend-20260512/backend/CLAUDE.md
# offline-backend-20260512/backend/README.md
# offline-backend-20260512/backend/app/gateway/routers/llmwiki.py
# offline-backend-20260512/backend/config.yaml
# offline-backend-20260512/backend/packages/harness/deerflow/config/llmwiki_config.py
# offline-backend-20260512/backend/tests/test_llmwiki_weknora.py
2026-08-26 15:46:58 +08:00
董宏凯
704438b3d2
bug修改
2026-08-26 15:46:49 +08:00
吉鑫升
d35d075669
feat: add compact toolbox and public wiki vector search
2026-08-26 14:40:57 +08:00
董宏凯
910cee9e67
用户引导沙箱优化
2026-08-26 14:14:26 +08:00
董宏凯
33b719d460
用户引导
2026-08-26 11:09:43 +08:00
董宏凯 and Cursor
62a3faa7c8
feat: 舆情分析智能体改为经 Gateway 转发外部 AG-UI 网关
...
前端不再直连上游 SSE,改为 POST /api/sentiment-agent/stream 由后台代理转发,支持关闭 TLS 校验并回传完整错误信息。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-25 18:26:48 +08:00
吉鑫升
e053b36b6e
fix: harden wiki delivery and leaderboard performance
2026-08-25 16:58:13 +08:00
吉鑫升
9f29ecae9e
fix: harden wiki delivery and leaderboard performance
2026-08-25 16:57:42 +08:00
吉鑫升
4b86106a24
fix: restore embedded wiki images and optimize vector sync
2026-08-25 11:26:27 +08:00
吉鑫升
0c5e2e8cb0
fix: restore embedded wiki images and optimize vector sync
2026-08-25 11:24:01 +08:00
董宏凯
40d06b781a
接口调整
2026-08-25 11:23:53 +08:00
吉鑫升
1736227723
feat: complete public wiki and embedded previews
2026-08-24 20:41:24 +08:00
吉鑫升
30943159bf
feat: complete public wiki and embedded previews
2026-08-24 20:40:44 +08:00
吉鑫升
bc49df4561
feat: add public wiki embeds and ES query routing
2026-08-24 15:21:28 +08:00
吉鑫升
e818c24769
Merge remote-tracking branch 'origin/master' into ji
...
# Conflicts:
# .gitignore
# frontend-web/src/components/workspace/artifacts/context.tsx
# frontend-web/src/components/workspace/messages/message-group.tsx
# offline-backend-20260512/backend/CLAUDE.md
# offline-backend-20260512/backend/README.md
# offline-backend-20260512/backend/app/gateway/app.py
# offline-backend-20260512/backend/app/gateway/deps.py
# offline-backend-20260512/backend/app/gateway/routers/llmwiki.py
2026-08-24 14:21:19 +08:00
吉鑫升
49babb6d25
feat: improve wiki document and artifact views
2026-08-24 14:01:10 +08:00
Administrator
3785345353
feat: add local LLMWiki wiki vector index
2026-08-24 00:49:31 +08:00
董宏凯 and Cursor
b81d200eca
fix: 协助卡停轮与提交防 409,隐藏配置向导会话,并限制岗位会商产物重复写入
...
澄清中间件改为 ToolMessage + after_model 停轮,前端提交前取消残留 run;系统/向导 thread_type 从对话列表排除;岗位总结席位加 write_file 上限。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 20:29:59 +08:00
董宏凯 and Cursor
51afebb394
feat: 报告结构支持检索方向/来源与智能新增,并修复协助卡停轮与宿主跳转
...
为深度研究报告结构增加检索方向与技能来源、对话式智能新增页与详情排版;澄清中间件在 after_model 可靠结束本轮,避免弱模型出卡后继续生成;任务按钮补充 host 跳转与相关深链能力。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-22 17:46:06 +08:00
董宏凯 and Cursor
a5a9c952e8
feat: 深度研究支持独立新报告与原文改写,并完善沙箱、模型管理与全文改写
...
新报告不再覆盖当前文件卡片,写入时打开沙箱;步骤条仅在改写原文时位于卡片上方。同时补齐改写本地回退、模型管理与会商第三步相关改动。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-21 21:46:04 +08:00
吉鑫升
4c9f75f31e
feat: add fixed questions and improve authentication
2026-08-21 17:58:39 +08:00
董宏凯 and Cursor
11f928bc95
feat: 新增独立企业深度研究工作台,并接入工作流报告结构与 8BF 深色锁定
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 16:43:03 +08:00
董宏凯 and Cursor
e881c242fe
feat: 岗位职责迁至业务链席位,并支持 WeKnora 嵌入页知识库切换
...
将岗位职责从智能体配置迁移到业务链席位 JSON,会商面板只读展示;WeKnora 嵌入 iframe 支持在授权可见范围内切换知识库并重新签发会话。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 22:26:40 +08:00
董宏凯 and Cursor
0ce060693b
feat: 会商链条启停与深度研究报告结构,并完善问答展示与 8BF 返回。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 20:37:34 +08:00
董宏凯 and Cursor
3afa76894f
feat: 完善会商产物提交匹配与流式写文件预览
...
席位流程图按已提交 Markdown 对齐;流式未命名产物不再误请求 artifacts API,并兼容临时文件名路径。同时补强会话流中断识别与 8BF/岗位会商展示。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 17:08:52 +08:00
董宏凯 and Cursor
acf538ac01
feat: 简介模式菜单按类型 A/B 分套,兼容未配置的旧部署
...
两套网页可通过 runtime-config.js 的 VITE_COMPACT_MENU_TYPE 加载各自左侧菜单;缺省或旧页面不传参数时仍读取原来的类型 A 数据。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 16:59:34 +08:00