gozeros
66a443e915
sync update from LAN repo (source master @ c21a2a4a)
2026-11-10 14:03:50 +08:00
gozeros
ea9dcff9c0
sync update from LAN repo (source master @ ca48c4ec)
2026-11-05 10:53:54 +08:00
gozeros
8bc8b0e082
sync: 鍚屾灞€鍩熺綉鏈€鏂颁唬鐮?(source master @ b69568e4)
2026-10-21 14:51:31 +08:00
吉鑫升
3ca5528640
feat(knowledge): support standalone file ingestion and configurable wiki entry
...
Use neutral knowledge-service labels and sanitize user-facing task errors.
2026-09-07 17:07:27 +08:00
董宏凯
cf9fe58905
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
...
Co-authored-by: Cursor <cursoragent@cursor.com >
# Conflicts:
# frontend-web/src/components/workspace/workspace-nav-chat-list.tsx
# frontend-web/src/pages/WorkspaceRoutes.tsx
# offline-backend-20260512/backend/app/gateway/app.py
# offline-backend-20260512/backend/app/gateway/deps.py
# offline-backend-20260512/backend/pyproject.toml
2026-09-07 14:46:36 +08:00
董宏凯
75f288b241
代码提交
2026-09-06 20:49:35 +08:00
董宏凯 and Cursor
5e953c9fcb
feat(report-collaboration): complete RC-BE-015–018 backend, eval suite, and MySQL sync
...
Ship report rewrite/version APIs, security budget and audit persistence, AgentScope worker wiring, and the 20-task quality eval harness so the frontend can integrate against a stable contract once enabled in config.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-06 17:32:15 +08:00
董宏凯
5c75e1af16
feat(deep-research): 强化任务链路可靠性并接入 agentfx 报告助手种子
...
功能说明:\n- 重构 Deep Research 调度与执行链,补齐 dispatcher、executor、live hub 与依赖注入入口,提升任务下发、执行、回调的稳定性\n- 增强运行时持久化与恢复能力,接入业务映射、任务来源与任务事件日志模型,覆盖持久化与执行可靠性关键路径测试\n- 新增 agentfx 报告助手 seed 与任务报告导入脚本配置,支持离线环境快速初始化与任务流模板回填\n- 完善 deep-research 与 thread_runs 路由参数编排,兼容不同业务映射与运行入口的前后端联动\n- 补充前端 agentfx deep-link 解析,保证 deep-research 场景下的登录跳转与任务上下文一致
2026-09-04 23:18:52 +08:00
吉鑫升
dea4697ea0
feat: improve knowledge sync and entity alignment
2026-09-04 18:43:12 +08:00
吉鑫升
60e2c72514
feat: preserve Wiki vectors across knowledge transfers and add local BGE-M3
...
Unify Wiki reading, preserve metadata and graph links, add asynchronous file-backed transfers, and reuse compatible vectors. Includes regression coverage and live acceptance notes.
2026-09-03 19:21:10 +08:00
吉鑫升
49d9ced04f
Merge branch 'ji' into master
2026-09-03 10:25:57 +08:00
吉鑫升
6b724bd00d
feat: improve assistant knowledge import and database compatibility
2026-09-02 17:55:17 +08:00
董宏凯
6d326a21cd
feat(backend): 完善 Workflow 与 DeepResearch 的运行链路与持久化能力
...
功能说明:\n- 重构并增强工作流网关执行链路,支持更完整的 proposal 与 run 调度参数透传\n- 增加 DeepResearch/workflow 运行事件持久化能力并补齐建表 SQL 与查询/保存接口适配\n- 优化 lead agent 与 deep research runner 的中间态处理,增强线程收集与执行链并发控制\n- 调整工作流执行器与任务路由,提升兼容性并完善错误与回放行为\n- 补充回归测试:deep_research 持久化、workflow 并发、定义加载、引擎执行、run 流程等覆盖
2026-09-02 12:52:37 +08:00
Administrator
fbd8dec48f
feat: add skill and assistant knowledge bases
2026-09-02 00:49:13 +08:00
董宏凯
1706a24182
feat(workflow): 增加会话级多智能体任务规划运行能力
...
提交范围聚焦于工作流编排新增:新增 workflow_planning 路由与前后端运行入口(workflow_planning.py、workflow_proposal_planner.py、workflow_deep_research_adapter.py),支持基于会话的提案-规划-执行流程,满足任务驱动式多智能体协作。
完成网关层运行时适配:扩展 workflow_resource_checks、workflow_executor、workflow_runs、workflow_agent_runner 与依赖注入,新增/更新配置(config.yaml、workflow_config),并补充 lead_agent 路径与节点实现,确保 Planner 与普通工作流运行态衔接一致。
补齐持久化与建模:新增 workflow_planning 持久化模块与 MySQL migration(20260831_01_workflow_planning_sessions),注册 SQL 与模型、内存 store,并扩展错误/表达式/validator/节点语义以承载新会话态输入输出。
增强文档与测试:新增会话式多智能体编排中文说明、更新开发文档与 AGENTS 指南、补充 workflow_engine/workflow_runs 回归测试,提高新路径的行为可验证性;同时留存 seed 资产(workflow-planner)便于一体化部署。
2026-09-01 11:47:30 +08:00
董宏凯
ac92f29db1
chore(persistence): 增加 Workflow Studio 表重建开关与迁移兼容修正
...
提交内容:为数据库生命周期增加按白名单清单重建 Workflow Studio 表的受限流程,限定仅 MySQL 且检查当前连接数据库名称一致,避免误删非目标 schema。
启动流程中新增 DEER_FLOW_REBUILD_WORKFLOW_SCHEMA 环境变量入口与持久层重建 API,并在 lifespan 里按需执行;导出到 persistence 包,便于后续调用与测试复用。
迁移与模型修复:将 workflow 相关大文本字段切到 MySQL LONGTEXT,不再给 TEXT/LONGTEXT 设置 server_default;新增 draft_canvas_schema_json 的迁移回填与非空约束变更,规避 MySQL 5.7 对默认值限制。
测试覆盖:补充 workflow 定义 ddl 长文本断言与 schema 重建保护性测试(仅允许清单表、数据库名不匹配直接拒绝),并把新测试文件加入版本追踪。
2026-08-31 16:45:06 +08:00
董宏凯
17cf849361
代码提交
2026-08-30 01:25:20 +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
吉鑫升
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
吉鑫升
d35d075669
feat: add compact toolbox and public wiki vector search
2026-08-26 14:40:57 +08:00
董宏凯
5c0864bf0a
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
2026-08-25 17:33:40 +08:00
董宏凯 and Cursor
8ce3a62826
fix: 岗位会商历史按用户隔离,并为 write-file 预览启用 AI 写作视图
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-25 17:32:56 +08:00
董宏凯
8c3d6a02fc
feat: 业务链条发布审核流程 + 编辑器去除岗位职责输入框
...
- 发布改为可选「确认审核 / 直接发布」:链条编辑页与圆桌「业务链条」弹窗行为一致;审核中可撤回
- 管理员在业务链条列表新增「待审核」筛选,审核发布后进入公共库
- 后端 roundtable_chains 新增 pending_review 字段(启动期自动补列)与 scope=pending 筛选;新增审核流程测试
- 编辑器席位去掉「岗位职责」输入框(保存时存量值原样保留)
2026-08-25 17:30:29 +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
吉鑫升
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
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
0ce060693b
feat: 会商链条启停与深度研究报告结构,并完善问答展示与 8BF 返回。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 20:37:34 +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
董宏凯 and Cursor
dcfaa199bf
feat: 支持会商 Markdown 产物提交到任务过程,并补充 Angular 对接文档
...
8BF/会商工作区可将 Markdown 产物一键提交到任务过程报告,后端记录提交状态以便跨用户与刷新后保持已提交;同时为 Angular 智能体对话对接文档补上前后端参考代码索引。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 20:08:51 +08:00
董宏凯
33b0af333c
Merge branch 'master-nj' into 'master'
...
增强 Deep Research 可靠性,并接入 8BF 任务卡片与会商上下文。
See merge request knowledge-base-bj/deerflow-code!25
2026-08-18 09:55:17 +00:00
吉鑫升
8af4fed89d
feat: update knowledge workspace and menu configuration
2026-08-18 15:23:14 +08:00
董宏凯 and Cursor
771957429a
增强 Deep Research 可靠性,并接入 8BF 任务卡片与会商上下文。
...
修复 MySQL 读写分离下的持久化与 SSE 重连问题,报告完成前先落库;8BF 嵌入页支持 taskId 任务卡与独立意图 metadata;前端统一 createClientId 并更新 runtime 配置。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 18:16:05 +08:00
董宏凯
178572bc7f
代码提交
2026-08-16 19:17:45 +08:00
董宏凯
70da7c5649
代码提交
2026-08-15 12:51:58 +08:00
董宏凯 and Cursor
75963c9ad9
feat: 岗位会商命令幂等与圆桌后台作业租约调度
...
岗位会商写操作引入 command_id 幂等与版本锁,前端支持同键重试;圆桌后台作业改为 DB 租约 dispatcher、去重与草稿 outbox 补偿,并持久化 intent turns。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 11:08:12 +08:00
吉鑫升
c4fd9dd7da
Merge remote-tracking branch 'origin/master' into ji
...
# Conflicts:
# .gitignore
# frontend-web/src/components/workspace/input-box.tsx
# frontend-web/src/core/threads/types.ts
# frontend-web/src/pages/ChatPage.tsx
2026-08-12 15:55:51 +08:00
吉鑫升
b4d076a2d4
fix: harden WeKnora knowledge permissions and details
2026-08-12 15:45:28 +08:00
吉鑫升
e0c09f6704
feat: integrate WeKnora llmwiki knowledge flow
2026-08-11 18:13:30 +08:00
董宏凯
3eb307c5c5
代码提交
2026-08-10 14:26:49 +08:00
董宏凯 and Cursor
a9d66536c3
fix: avoid MySQL thread_meta refresh races and harden roundtable bootstrap
...
Skip post-commit ORM refresh on threads_meta creates so concurrent MySQL
read/write-split deployments no longer fail with Could not refresh instance;
clean up partial roundtable threads on checkpoint failure, and ship related
position-roundtable/frontend build fixes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-31 21:00:56 +08:00
董宏凯
4450f342d8
页面嵌套修改
2026-07-29 21:53:32 +08:00
董宏凯
45df500a9c
代码提交
2026-07-24 10:33:28 +08:00